A rectangle can be created in two ways: using the GeoObject class
indicating the "Rectangle" geometry type,
or using an auxiliary Rectangle class.
When creating a rectangle, you must specify the coordinates of two opposite vertices. You may also specify its properties (for example, the contents of its balloon or hint) and options (such as fill color).
A rectangle can be created in two ways: using the GeoObject class indicating the "Rectangle" geometry type, or using an auxiliary Rectangle class.
When creating a rectangle, you must specify the coordinates of two opposite vertices. You may also specify its properties (for example, the contents of its balloon or hint) and options (such as fill color).
Rectangles can be combined in a collection.