|
draw_line_color(x1,y1,x2,y2,c1,c2) |
|
Note: This function must be placed in the Draw Event for it to work correctly.
x1, y1 = Horizontal / vertical start of the line. x2, y2 = Horizontal / vertical end of the line. c1 = First colour for gradient. c2 = Second colour for gradient.
Example:
This function works just like draw_line(), except you can choose two colours to draw it with. A gradient is made between the two. c1 is placed at the first coordinates.
Yibbon(.com.au) - Revision #1 |