public sealed class PdfBezierSegment : PdfPathSegment
Public NotInheritable Class PdfBezierSegment Inherits PdfPathSegment
Thetype exposes the following members.
End point of this.
First control point of this.
Second control point of this.
Start point of this.
Gets the type of this PdfPathSegment.(Inherited from PdfPathSegment.)
|Equals||(Inherited from Object.)|
|GetHashCode||(Inherited from Object.)|
|GetType||(Inherited from Object.)|
|ToString||(Inherited from Object.)|
Such curves are defined by four points: the two endpoints (the start point P0 and the final point P3 ) and two control points P1 and P2. Given the coordinates of the four points, the curve is generated by varying the parameter t from 0.0 to 1.0 in the following equation:
R(t) = P0 * (1 – t) ^ 3 + P1 * 3 * t * (1 – t) ^ 2 + P2 * 3 * (1 – t) * t ^ 2 + P3 * t ^ 3
When t = 0.0, the value of the function R(t) coincides with the current point P0; when t = 1.0, R (t)coincides with the final point P3. Intermediate values of t generate intermediate points along the curve. The curve does not, in general, pass through the two control points P1 and P2.
Cubic Bezier curves have two useful properties: