public Coordinate2D ControlPoint1 {get; set;}
Public Property ControlPoint1 As Coordinate2D
public Coordinate2D ControlPoint1 {get; set;}
Public Property ControlPoint1 As Coordinate2D
Exception | Description |
---|---|
System.ArgumentNullException | Setting the control point with an empty object. |
// retrieve the bezier curve's control points CubicBezierBuilderEx cbbEx = new CubicBezierBuilderEx(bezierSegment); MapPoint startPtEx = cbbEx.StartPoint; Coordinate2D ctrlPt1Ex = cbbEx.ControlPoint1; Coordinate2D ctrlPt2Ex = cbbEx.ControlPoint2; MapPoint endPtEx = cbbEx.EndPoint; // or use the QueryCoords method cbbEx.QueryCoords(out startPtEx, out ctrlPt1Ex, out ctrlPt2Ex, out endPtEx);
Target Platforms: Windows 11, Windows 10