W3cubDocs

/LÖVE

ShapeType

The different types of Shapes, as returned by Shape:getType.

Constants

circle
The Shape is a CircleShape.
polygon
The Shape is a PolygonShape.
edge Available since 0.8.0
The Shape is a EdgeShape.
chain Available since 0.8.0
The Shape is a ChainShape.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ShapeType