Class QuadraticBezierSegment
Quadratic Bézier path segment that uses a single control point to curve from the current point to the end point.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Graphics
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class QuadraticBezierSegment : PathSegment
Constructors
QuadraticBezierSegment()
Initialize a quadratic Bézier segment with default points; set Point1 and Point2 to curve from the current path point to the end point.
Declaration
public QuadraticBezierSegment()
QuadraticBezierSegment(Point, Point)
Initializes a quadratic Bézier segment using a control point and an end point. The curve starts from the current path point, bends toward point1, and ends at point2.
Declaration
public QuadraticBezierSegment(Point point1, Point point2)
Parameters
|
System.Windows.Point
point1
The control point that pulls the curve away from the start toward the end. |
|
System.Windows.Point
point2
The end point of the quadratic Bézier curve. |
Properties
Point1
Gets or sets the control point that pulls the curve away from the start toward the end.
Declaration
public Point Point1 { get; set; }
Property Value
|
System.Windows.Point
The first point. |
Point2
Gets or sets the end point of the quadratic Bézier curve.
Declaration
public Point Point2 { get; set; }
Property Value
|
System.Windows.Point
The second point. |