Constructor CubicBezierSegment
CubicBezierSegment(MapPoint, MapPoint, MapPoint, MapPoint, SpatialReference)
Initializes a new instance of the CubicBezierSegment class based on a start and end point and two control points at tangents to the start and end points.
Declaration
public CubicBezierSegment(MapPoint startPoint, MapPoint controlPoint1, MapPoint controlPoint2, MapPoint endPoint, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | startPoint | The start point of the segment. |
MapPoint | controlPoint1 | A point tangent to the start of the segment. |
MapPoint | controlPoint2 | A point tangent to the end of the segment. |
MapPoint | endPoint | The end point of the segment. |
SpatialReference | spatialReference | A spatial reference to use for the segment if the points do not have spatial references set. The
spatial reference parameter is used if the points have a |
Remarks
The spatial reference parameter is used if the points have a null
spatial reference. If more
than one spatial reference is supplied (as a parameter or as a property of a MapPoint parameter),
they must all be equal.
The z-value and m-value of the start and end points (if present) are used in the CubicBezierSegment. The z-value and m-value of the control points (if present) are ignored.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 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.12 - 200.5 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |