New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class QuadraticBezierSegment : PathSegment

Inheritance: objectPathSegmentQuadraticBezierSegment

Constructors

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.

C#
public QuadraticBezierSegment(Point point1, Point point2)
Parameters:point1Point

The control point that pulls the curve away from the start toward the end.

point2Point

The end point of the quadratic Bézier curve.

Properties

Point1

Point

Gets or sets the control point that pulls the curve away from the start toward the end.

C#
public Point Point1 { get; set; }
Property Value:

The first point.

Point2

Point

Gets or sets the end point of the quadratic Bézier curve.

C#
public Point Point2 { get; set; }
Property Value:

The second point.