lineTo
lineTo(Point2D.Float point) function
Adds line to the end of the path
Parameters
Name | Type | Description |
---|
point | Point2D.Float | End point of the line |
lineTo(float x, float y) function
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 |
lineTo(Point2D.Float point, long index) function
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 |
Error
Error | Condition |
---|
ArgumentOutOfRangeException | Segment index is out of PathData range |
lineTo(float x, float y, long index) function
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 |
Error
Error | Condition |
---|
ArgumentOutOfRangeException | Segment index is out of PathData range |