New to Telerik UI for .NET MAUIStart a free 30-day trial

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

Constructors

Initializes a new instance of the cubic segment.

C#
public RadCubicSegment()

Initializes a new instance of the cubic segment.

C#
public RadCubicSegment(Point controlPoint1, Point controlPoint2, Point endPoint)
Parameters:controlPoint1Point

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.

controlPoint2Point

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.

endPointPoint

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

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.

C#
public Point ControlPoint1 { get; set; }

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.

C#
public Point ControlPoint2 { get; set; }

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.

C#
public Point EndPoint { get; set; }