Class
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:

cs-api-definition
public class RadQuadraticSegment : RadPathSegment, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseRadPathSegmentRadQuadraticSegment

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

RadQuadraticSegment()

Initializes a new instance of the quadratic segment.

Declaration

cs-api-definition
public RadQuadraticSegment()

RadQuadraticSegment(Point, Point)

Initializes a new instance of the quadratic segment.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public Point EndPoint { get; set; }

Property Value

Point