GM: draw circle color

From GMpedia.org Wiki

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


Arguments

x = Horizontal position in pixels. y = Vertical position in pixels. r = The radius that the circle will be drawn to. c1 = Colour in the middle . c2 = The colour out the outer boundary. 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 at x,y with a radius of r (Remember that the radius is half of the circles width). c1 is the colour in the middle, c2 around the edge.

[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