Class MapPointBuilder
Builder for creating and modifying point geometries incrementally.
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class MapPointBuilder : GeometryBuilder<MapPoint>
Remarks
Point geometries are immutable and cannot be changed directly once created. The MapPointBuilder has a number of constructors to allow you to create a new point, or you can edit an existing point using SetXY(Double, Double) or OffsetBy(Double, Double). Use ToGeometry() to return the new MapPoint from the builder.
Constructors
| Name | Description |
|---|---|
| MapPointBuilder(MapPoint) | Initializes a new instance of the MapPointBuilder class using the specified MapPoint. |
| MapPointBuilder(SpatialReference) | Initializes a new instance of the MapPointBuilder class with the specified SpatialReference. |
| MapPointBuilder(Double, Double) | Initializes a new instance of the MapPointBuilder class. |
| MapPointBuilder(Double, Double, SpatialReference) | Initializes a new instance of the MapPointBuilder class. |
| MapPointBuilder(Double, Double, Double) | Initializes a new instance of the MapPointBuilder class. |
| MapPointBuilder(Double, Double, Double, SpatialReference) | Initializes a new instance of the MapPointBuilder class. |
Properties
| Name | Description |
|---|---|
| M | Gets or sets the m-value for the map point. |
| X | Gets or sets the x-coordinate for the map point. |
| Y | Gets or sets the y-coordinate for the map point. |
| Z | Gets or sets the z-value for the map point. |
Methods
| Name | Description |
|---|---|
| CreateWithM(Double, Double, Double) | Initializes a new instance of the MapPointBuilder class. |
| CreateWithM(Double, Double, Double, SpatialReference) | Initializes a new instance of the MapPointBuilder class. |
| CreateWithM(Double, Double, Double, Double) | Initializes a new instance of the MapPointBuilder class. |
| CreateWithM(Double, Double, Double, Double, SpatialReference) | Initializes a new instance of the MapPointBuilder class. |
| OffsetBy(Double, Double) | Offsets the point by the given offsets for the x and y dimension. |
| SetXY(Double, Double) | Sets the x and y coordinates of a map point. |
| ToGeometry() | Returns the Geometry this geometry builder is constructing or modifying. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |