YoYo Games Wiki

draw_circle_color(x,y,r,c1,c2,outline)

From YoYoGames Wiki

Description

Draws a circle at (x,y) with a radius of r (Remember that the radius is half of the circle's width). c1 is the colour in the middle, c2 around the edge.

Arguments

  • x (real): Horizontal position in pixels.
  • y (real): Vertical position in pixels.
  • r (real): The radius that the circle will be drawn to.
  • c1 (real): Colour in the middle .
  • c2 (real): The colour out the outer boundary.
  • outline (real): 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.

See Also

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