RadCubicSegment
Represents a cubic curve segment within a path figure, defined by two control points and an end point. The coordinates for each point are relative to the bounding box of the containing geometry, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner. This segment enables precise curve shaping for vector graphics and path rendering.
Definition
Namespace:Telerik.Maui.Controls.Paths
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadCubicSegment : RadPathSegment, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseRadPathSegmentRadCubicSegment
Implements:
Inherited Members
Constructors
Initializes a new instance of the cubic segment.
public RadCubicSegment()
Initializes a new instance of the cubic segment.
public RadCubicSegment(Point controlPoint1, Point controlPoint2, Point endPoint)
Specifies the first control point of the cubic segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
controlPoint2PointSpecifies the second control point of the cubic segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
endPointPointSpecifies the end point of the cubic segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
Properties
ControlPoint1
Point
Gets or sets the first control point of the cubic segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
public Point ControlPoint1 { get; set; }
ControlPoint2
Point
Gets or sets the second control point of the cubic segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
public Point ControlPoint2 { get; set; }
EndPoint
Point
Gets or sets the end point of the cubic segment. The point coordinates are relative to the containing geometry's bounding box, where (0, 0) is the bottom-left corner and (1, 1) is the top-right corner.
public Point EndPoint { get; set; }