draw_rectangle_color - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
NOTOC {{-}} This function is part of the function set Drawing shapes
Draws a gradient rectangle from point x1,y1 to point x2,y2, like draw_rectangle. The col# arguments indicate the 4 corner colors, clockwise from top-left.
- col1 is the top left corner color.
- col2 is the top right corner color.
- col3 is the bottom right corner color.
- col4 is the bottom left corner color.
Unknown.
//draws a nice rectangle, with sea-ish colors along the x axis, which fade to black as you go down the y axis.
draw_rectangle_color(0,0,100,100,make_color_rgb(0,200,100),make_color_rgb(0,100,200),c_black,c_black,false)