Method SetPoint
SetPoint(Int32, MapPoint)
Replace a point in the part at the specified point index. Segments that use this point will be changed.
Declaration
public void SetPoint(int pointIndex, MapPoint point)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pointIndex | Zero-based index of the point. |
MapPoint | point | The point. |
Remarks
The points in the part are the start and end points of segments. Setting a new point will affect 1 or 2 segments using the point at the specified index. The type of affected segment(s) (LineSegment, CubicBezierSegment or EllipticArcSegment) will remain the same.
For affected cubic Bezier segments, the shape of the curve may change because the control points remain the same, as does the unchanged start or end point location. For elliptic arc segments, the arc parameters are adjusted enough to ensure the unchanged start or end point location remains the same.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |