draw_circle() (Game Maker)


(Game Maker 6.1, 7)

draw_circle - draw a circle


draw_circle ( x , y , radius, outline)

  • x - x-position of the center of the circle
  • y - y-position of the center of the circle
  • radius - radius of the circle
  • outline - draw as outline

draw_circle() draws a circle at a specific x/y location in the current drawing color. If outline is set to true the circle will be drawn as an outline only. If it is set as false, it will be drawn as a solid circle.


Example of Use


The code in this example will draw an outline of a circle with a radius of 2.

Related Pages

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.