document CircleShape:draw()

This commit is contained in:
Andrew Minnich 2018-11-26 03:00:32 -05:00
parent 93042a8dd6
commit f969ac2f96

View File

@ -284,6 +284,13 @@ Built-in Shapes
.. class:: CircleShape .. class:: CircleShape
.. function:: CircleShape:draw(mode, segments)
:param DrawMode mode: How to draw the shape. Either 'line' or 'fill'.
:param number segments: The number of segments to draw the circle with.
Draw the circle shape either filled or as an outline and with the specified number of segments.
.. class:: PointShape .. class:: PointShape
.. function:: newPolygonShape(...) .. function:: newPolygonShape(...)