GM: draw ellipse
From GMpedia.org Wiki
- The correct title of this article is draw_ellipse(x1,y1,x2,y2,outline). It appears incorrectly here because of technical restrictions.
- The correct title of this article is instance_create(). It appears incorrectly here because of technical restrictions.
Arguments
x1, y1 = Horizontal / vertical start of the line. x2, y2 = Horizontal / vertical end of the line. outline = Whether the ellipse is drawn as a thin line or filled in the current colour. [true=no fill / false = fill in current colour]
Limitations
must be Draw Event or used with Surfaces.
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
This will allow you to draw an ellipse (stretched circle) in your game.
[edit] Example
draw_ellipse(100,100,300,400,false);
This article was originally found at the Game Maker Knowledge Base, contributed by nickydude.
See the talk page for details
See the talk page for details

