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

Defines a quadratic curve segment within a path figure, using a control point and an end point relative to the geometry's bounding box.

Definition

Constructors

Initializes a new instance of the quadratic segment.

C#
public RadQuadraticSegment()

Initializes a new instance of the quadratic segment.

C#
public RadQuadraticSegment(Point controlPoint, Point endPoint)
Parameters:controlPointPoint

Specifies the control point of the quadratic 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 of the quadratic 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 control point of the quadratic 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.

csharp
// Set the control point of a quadratic segment
var segment = new RadQuadraticSegment();
segment.ControlPoint = new Point(0.3, 0.7);
C#
public Point ControlPoint { get; set; }

Gets or sets the end of the quadratic 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; }