Show / Hide Table of Contents

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 null spatial reference. If more than one spatial reference is supplied (as a parameter or as a property of a point parameter), they must all be equal.

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
TargetVersions
.NET Standard 2.0100.12 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.12 - 200.0
.NET 5100.12
.NET Core 3.1100.12
Android100.12 - 100.15
iOS100.12 - 100.15
UWP100.12 - 200.0
In This Article
Back to top Copyright © 2022 Esri.