cubicBezierTo
cubicBezierTo(Point2D.Float point1, Point2D.Float point2, Point2D.Float point3) function
Adds cubic Bezier curve at the end the path
Parameters
Name | Type | Description |
---|
point1 | Point2D.Float | First direction point |
point2 | Point2D.Float | Second direction point |
point3 | Point2D.Float | End point |
cubicBezierTo(float x1, float y1, float x2, float y2, float x3, float y3) function
Adds cubic Bezier curve at the end the path
Parameters
Name | Type | Description |
---|
x1 | float | X coordinate of first direction point |
y1 | float | Y coordinate of first direction point |
x2 | float | X coordinate of second direction point |
y2 | float | Y coordinate of second direction point |
x3 | float | X coordinate of end point |
y3 | float | Y coordinate of end point |
cubicBezierTo(Point2D.Float point1, Point2D.Float point2, Point2D.Float point3, long index) function
Adds cubic Bezier curve to the specified place of the path
Parameters
Name | Type | Description |
---|
point1 | Point2D.Float | First direction point |
point2 | Point2D.Float | Second direction point |
point3 | Point2D.Float | End point |
index | long | Index of segment in PathData |
Error
Error | Condition |
---|
ArgumentOutOfRangeException | Segment index is out of PathData range |
cubicBezierTo(float x1, float y1, float x2, float y2, float x3, float y3, long index) function
Adds cubic Bezier curve to the specified place of the path
Parameters
Name | Type | Description |
---|
x1 | float | X coordinate of first direction point |
y1 | float | Y coordinate of first direction point |
x2 | float | X coordinate of second direction point |
y2 | float | Y coordinate of second direction point |
x3 | float | X coordinate of end point |
y3 | float | Y coordinate of end point |
index | long | Index of segment in PathData |
Error
Error | Condition |
---|
ArgumentOutOfRangeException | Segment index is out of PathData range |