mirror of
https://github.com/vrld/HC.git
synced 2024-11-18 12:54:23 +00:00
document CircleShape:draw()
This commit is contained in:
parent
93042a8dd6
commit
f969ac2f96
@ -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(...)
|
||||||
|
Loading…
Reference in New Issue
Block a user