ClassRadCubicSegment
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
RadCubicSegment()
Initializes a new instance of the cubic segment.
Declaration
public RadCubicSegment()
RadCubicSegment(Point, Point, Point)
Initializes a new instance of the cubic segment.
Declaration
public RadCubicSegment(Point controlPoint1, Point controlPoint2, Point endPoint)
Parameters
controlPoint1
Point
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.
controlPoint2
Point
Specifies 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.
endPoint
Point
Specifies 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
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.
Declaration
public Point ControlPoint1 { get; set; }
Property Value
Point
ControlPoint2
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.
Declaration
public Point ControlPoint2 { get; set; }
Property Value
Point
EndPoint
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.
Declaration
public Point EndPoint { get; set; }
Property Value
Point