A newer version of this page is available. Switch to the current version.

MapEllipse.FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) Method

Creates a map ellipse using the top-left and bottom-right points of its bounding rectangle.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.2.dll

Declaration

public static MapEllipse FromLeftTopRightBottom(
    MapCoordinateSystem coordSystem,
    CoordPoint leftTop,
    CoordPoint rightBottom
)

Parameters

Name Type Description
coordSystem MapCoordinateSystem

A MapCoordinateSystem value specifying the coordinate system.

leftTop CoordPoint

A CoordPoint value specifying the top-left coordinate of the ellipse bounding rectangle.

rightBottom CoordPoint

A CoordPoint value specifying the bottom-right coordinate of the ellipse bounding rectangle.

Returns

Type Description
MapEllipse

A MapEllipse object.

See Also