Drawable

Superclass for all things that can be drawn on screen. This is an abstract type that can't be created directly.

Functions

Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

Subtypes

CanvasOff-screen render target.Added since 0.8.0
FramebufferOff-screen render target.Added since 0.7.0 Removed in 0.8.0
ImageDrawable image type.
MeshA 2D polygon mesh used for drawing arbitrary textured shapes.Added since 0.9.0
ParticleSystemUsed to create cool effects, like fire.
SpriteBatchStore image positions in a buffer, and draw it in one call.
TextureSuperclass for drawable objects which represent a texture.Added since 0.9.1

See Also


Other Languages

Personal tools