draw_roundrect_color

(x1,y1,x2,y2,col1,col2,outline)


Draws a rounded rectangle. col1 is the color in the middle and col2 the color at the boundary. outline indicates whether only the outline must be drawn (true) or it should be filled (false).

Example

draw_roundrect_color(0,0,room_width,room_height,c_red,c_blue,true)

This will draw a rounded rectangle the size of the room, with the colors red and blue and NOT filled.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License