lineTo
Contents
[
Hide
]lineTo(Point2D.Float point) method
Adds line to the end of the path
Parameters
| Name | Type | Description |
|---|---|---|
| point | Point2D.Float | End point of the line |
Returns
void
lineTo(float x, float y) method
Adds line to the end of the path
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | X coordinate of the end point of the line |
| y | float | Y coordinate of the end point of the line |
Returns
void
lineTo(Point2D.Float point, long index) method
Adds line to the specified place of the path
Parameters
| Name | Type | Description |
|---|---|---|
| point | Point2D.Float | End point |
| index | long | Index of segment in PathData |
Returns
void
Exception
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Segment index is out of PathData range |
lineTo(float x, float y, long index) method
Adds line to the specified place of the path
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | X coordinate of the point |
| y | float | Y coordinate of the point |
| index | long | Index of segment in PathData |
Returns
void
Exception
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Segment index is out of PathData range |