New to Telerik Document ProcessingStart a free 30-day trial

Cubic Bézier path segment that connects from the current point using two control points to shape the curve toward the end point.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Graphics

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

C#
public class BezierSegment : PathSegment

Inheritance: objectPathSegmentBezierSegment

Constructors

Initializes a new instance of the BezierSegment class using three points. Defines a cubic Bézier curve from the current path point using two control points and an end point.

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

The first control point that influences the tangent leaving the start of the curve.

point2Point

The second control point that influences the tangent approaching the end of the curve.

point3Point

The end point of the Bézier curve.

Fields

Point1

Point

Gets or sets the first control point that influences the tangent leaving the start of the curve.

C#
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public Point Point1
Field Value:

The first point.

Point2

Point

Gets or sets the second control point that influences the tangent approaching the end of the curve.

C#
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public Point Point2
Field Value:

The second point.

Point3

Point

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

C#
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public Point Point3
Field Value:

The third point.