Syntax
| draw.ID.line(X1, Y1, X2, Y2, Weight, Color) |
Parameters
| INT | X1, Y1 | First pixel of the line.
| | INT | X2, Y2 | Last pixel of the line
| | INT | Weight | Size of the line in pixels.
| | COLOR | Color | Drawing color. |
Return value
No value is returned.
Description
Draw an line on the specified bitmap.
|
MioScript Sample Code
draw.main.line(
0,0, 100, 100,
4,
num.rgb(0,100,255),
)
draw.main.paint() |
|