cubicBezierTo
Contents
[
Hide
]cubicBezierTo(Point2D.Float point1, Point2D.Float point2, Point2D.Float point3) method
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 |
Returns
void
cubicBezierTo(float x1, float y1, float x2, float y2, float x3, float y3) method
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 |
Returns
void
cubicBezierTo(Point2D.Float point1, Point2D.Float point2, Point2D.Float point3, long index) method
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 |
Returns
void
Exception
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Segment index is out of PathData range |
cubicBezierTo(float x1, float y1, float x2, float y2, float x3, float y3, long index) method
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 |
Returns
void
Exception
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Segment index is out of PathData range |