YoYo Games Wiki

draw_ellipse(x1,y1,x2,y2,outline)

From YoYoGames Wiki

Description

This will allow you to draw an ellipse (stretched circle) in your game.

Arguments

  • x1 (real): horizontal start of the line.
  • y1 (real): vertical start of the line.
  • x2 (real): horizontal start of the line.
  • y2 (real): vertical end of the line.
  • outline (real): Whether the ellipse is drawn as a thin line or filled in the current colour. [true=no fill / false = fill in current colour]

Example

draw_ellipse(100,100,300,400,false);

Remarks

See Also

Content from GMKB, was used to expand this article. The content was contributed by nickydude.