draw_set_color - set the current drawing color
draw_set_color ( color )
- color - color to set the drawing color
draw_set_color() sets the current drawing color. By default, the drawing color is black (c_black). The drawing color is the color used to draw shapes and text.
Example of Use
draw_set_color(c_white); draw_text(0,0,"This text is white"); draw_set_color(c_red); draw_text(0,20,"This text is red");
- Its a good idea to set the drawing color with draw_set_color() before drawing anything. There will be times when you use multiple colors, and, to make sure whatever you are drawing is drawn in the right color, always include draw_set_color().