Method Add
Add(Double, Double)
Adds a new point with the specified x and y coordinate to the end of this point collection.
Declaration
public void Add(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x. |
System.Double | y | The y. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Create geometries: Create simple geometry types.
Add(Double, Double, Double)
Adds a new point with a specified x,y,z coordinate to the end of this point collection.
Declaration
public void Add(double x, double y, double z)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x. |
System.Double | y | The y. |
System.Double | z | The z. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Add(MapPoint)
Adds an item to the System.Collections.Generic.ICollection<T>.
Declaration
public void Add(MapPoint item)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | item | The object to add to the System.Collections.Generic.ICollection<T>. |
Implements
System.Collections.Generic.ICollection<T>.Add(T)
Remarks
This collection stores a copy of the given MapPoint. Changes made to the original MapPoint will not affect values stored in this collection.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Convex hull: Create a convex hull for a given set of points. The convex hull is a polygon with shortest perimeter that encloses a set of points. As a visual analogy, consider a set of points as nails in a board. The convex hull of the points would be like a rubber band stretched around the outermost nails.
Convex hull list: Generate convex hull polygon(s) from multiple input geometries.
Cut geometry: Cut a geometry along a polyline.