Back to Devexpress

MapEllipse Class

windowsforms-devexpress-dot-xtramap-192c6ce0.md

latest3.0 KB
Original Source

MapEllipse Class

The class used to draw an ellipse on a map.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public class MapEllipse :
    MapShape,
    IEllipseCore,
    ISupportRectangle,
    ISupportCoordLocation,
    IPolygonCore,
    IPointContainerCore
vb
Public Class MapEllipse
    Inherits MapShape
    Implements IEllipseCore,
               ISupportRectangle,
               ISupportCoordLocation,
               IPolygonCore,
               IPointContainerCore

The following members return MapEllipse objects:

Remarks

The following image shows an example of a map ellipse object.

Note

The MapEllipse.Width and MapEllipse.Height properties are measured in kilometers by default.

Example

View Example

csharp
ItemStorage.Items.Add(new MapEllipse() { Location = new GeoPoint(40, 40), Height = 300, Width = 600 });
vb
ItemStorage.Items.Add(New MapEllipse() With {.Location = New GeoPoint(40, 40), .Height = 300, .Width = 600})

Implements

IColorizerElement

Inheritance

Object MapItem MapShape MapEllipse

See Also

MapEllipse Members

Vector Items

DevExpress.XtraMap Namespace