circle
draw.circle()
Draws a circle.
draw.circle([x, y, rad], type, centered)
[x, y, rad]
Array
Defines a circle with center at (x
, y
) and the given radius.
type
Number
Determines the drawing mode:
0
: Fill and outline1
: Fill only2
: Outline only
centered
Boolean
If true
, the circle is drawn from the center (x
, y
). If false
, (x
, y
) is the top-left corner of the bounding box.