PathBuilder.Sr

PathBuilder.Sr method

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

public PathBuilder Sr(double x2, double y2, double x, double y)
ParameterTypeDescription
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