GM: draw circle

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is draw_circle(x,y,r,outline). It appears incorrectly here because of technical restrictions.


Arguments

x = The x position where the center of the circle will be drawn. y = The y position where the center of the circle will be drawn. r = The radius that the circle will be drawn to. outline = Whether or not the circle will be drawn as an outline. If it is true, the circle will be an outline of a circle, if it is false, it will be a full circle.

Limitations

must be in Draw Event or used with Surfaces.

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

Draws a circle where its center will be in the position x,y, with the radius s. It will either be drawn as an outline (if outline was true) or as a full solid circle (if outline was false).

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by Eyas Sharaiha.
See the talk page for details
Personal tools