ShapeType

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

Constants

circle
The Shape is a CircleShape.
polygon
The Shape is a PolygonShape.
Available since LÖVE 0.8.0
These ShapeTypes are not supported in earlier versions.
edge
The Shape is a EdgeShape.
chain
The Shape is a ChainShape.

See Also


Other Languages