MapRectangle.CreateByCenter(MapCoordinateSystem, CoordPoint, Double, Double) Method
In This Article
Creates a map rectangle using its center point, width and height.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
#Declaration
public static MapRectangle CreateByCenter(
MapCoordinateSystem coordSystem,
CoordPoint center,
double width,
double height
)
#Parameters
Name | Type | Description |
---|---|---|
coord |
Map |
A Map |
center | Coord |
A Coord |
width | Double | A Double specifying the rectangle width. |
height | Double | A Double specifying the rectangle height. |
#Returns
Type | Description |
---|---|
Map |
A Map |
See Also