PathBuilder.Cr

PathBuilder.Cr method

Adds a relative ‘Cubic Bezier Curve’ command to the path data.

public PathBuilder Cr(double x1, double y1, double x2, double y2, double x, double y)
ParameterTypeDescription
x1DoubleThe x-coordinate of the first control point, relative to the current position.
y1DoubleThe y-coordinate of the first control point, relative to the current position.
x2DoubleThe x-coordinate of the second control point, relative to the current position.
y2DoubleThe y-coordinate of the second control point, relative to the current position.
xDoubleThe x-coordinate of the end point of the curve, relative to the current position.
yDoubleThe y-coordinate of the end point of the curve, relative to the current position.

Return Value

The current PathBuilder instance.

See Also