Class
BezierSegment

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:

cs-api-definition
public class BezierSegment : PathSegment

Inheritance: objectPathSegmentBezierSegment

Constructors

BezierSegment(Point, Point, Point)

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.

Declaration

cs-api-definition
public BezierSegment(Point point1, Point point2, Point point3)

Parameters

point1

Point

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

point2

Point

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

point3

Point

The end point of the Bézier curve.

Fields

Point1

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

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public Point Point1

Field Value

Point

The first point.

Point2

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

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public Point Point2

Field Value

Point

The second point.

Point3

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

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
public Point Point3

Field Value

Point

The third point.