Skip to main content

MapEllipse.FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) Method

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

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

Parameters

Name Type Description
coordSystem MapCoordinateSystem

A MapCoordinateSystem value specifying the map coordinate system.

leftTop CoordPoint

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

rightBottom CoordPoint

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

Returns

Type Description
MapEllipse

A MapEllipse object.

See Also