ClassRadQuadraticSegment
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
RadQuadraticSegment()
Initializes a new instance of the quadratic segment.
Declaration
public RadQuadraticSegment()
RadQuadraticSegment(Point, Point)
Initializes a new instance of the quadratic segment.
Declaration
public RadQuadraticSegment(Point controlPoint, Point endPoint)
Parameters
controlPoint
Point
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.
endPoint
Point
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
ControlPoint
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);
Declaration
public Point ControlPoint { get; set; }
Property Value
Point
EndPoint
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.
Declaration
public Point EndPoint { get; set; }
Property Value
Point