RadQuadraticSegment
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
Namespace:Telerik.Maui.Controls.Paths
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadQuadraticSegment : RadPathSegment, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseRadPathSegmentRadQuadraticSegment
Implements:
Inherited Members
Constructors
Initializes a new instance of the quadratic segment.
public RadQuadraticSegment()
Initializes a new instance of the quadratic segment.
public RadQuadraticSegment(Point controlPoint, Point endPoint)
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.
endPointPointSpecifies 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
ControlPoint
Point
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.
// Set the control point of a quadratic segment
var segment = new RadQuadraticSegment();
segment.ControlPoint = new Point(0.3, 0.7);
public Point ControlPoint { get; set; }
EndPoint
Point
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.
public Point EndPoint { get; set; }