Draws rectangle with specified options
draw_rectangle(p1, p2, outline, angle)
Vector2
bool
double
Returns: void
void
This function will draw simple rectangle in game.
draw_rectangle(new Vector2(Position.X-50,Position.Y-50), new Vector2(Position.X+50,Position.Y+50),true, 120);
Draw rectangle with 100px width and 100px height and add some rotation.
Back to Shapes
There was an error while loading. Please reload this page.