PathAppendCubicBezier Method (Double, Double, Double, Double, Double, Double)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x2, y2) as the Bézier control points. The new current point shall be (x3, y3).

Namespace:  Apitron.PDF.Kit.FixedLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public void AppendCubicBezier(
	double x1,
	double y1,
	double x2,
	double y2,
	double x3,
	double y3
)

Parameters

x1
Type: SystemDouble
The x1.
y1
Type: SystemDouble
The y1.
x2
Type: SystemDouble
The x2.
y2
Type: SystemDouble
The y2.
x3
Type: SystemDouble
The x3.
y3
Type: SystemDouble
The y3.
Examples

C#
// create new rectangle path
FixedLayout.Content.Path path = new FixedLayout.Content.Path();
path.AppendCubicBezier(100,100,20.2,200,300,30);
page.Content.FillAndStrokePath(path);
See Also

Reference