mojo:mojo.graphics.Canvas.DrawLine
Draws a line.
Draws a line in the current Color using the current BlendMode.
The line coordinates are transformed by the current Matrix and clipped to the current Viewport and Scissor.
Parameters | |
---|---|
x0 |
x0 X coordinate of first endpoint of the line. |
y0 |
y0 Y coordinate of first endpoint of the line. |
x1 |
x1 X coordinate of first endpoint of the line. |
y1 |
y1 Y coordinate of first endpoint of the line. |
v0 |
v0 First endpoint of the line. |
v1 |
v1 Second endpoint of the line. |