ClassQuadraticBezierSegment
Quadratic Bézier path segment that uses a single control point to curve from the current point to the end point.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Graphics
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public class QuadraticBezierSegment : PathSegment
Inheritance: objectPathSegmentQuadraticBezierSegment
Constructors
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
point1
Point
The control point that pulls the curve away from the start toward the end.
point2
Point
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
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
Point
The second point.