YoYo Games Wiki

draw_circle(x,y,r,outline)

From YoYoGames Wiki

Description

Draws a circle where its center will be in the position (x,y), with the radius r.

Arguments

  • x (real): The x position where the center of the circle will be drawn.
  • y (real): The y position where the center of the circle will be drawn.
  • r (real): The radius that the circle will be drawn to.
  • 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.

Explanation

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

Remarks

See Also

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