Drawable

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

Functions

Object:release Immediately destroys the object's Lua reference. 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Supertypes

Subtypes

Canvas Off-screen render target. 0.8.0
Framebuffer Off-screen render target. 0.7.0 0.8.0
Image Drawable image type.
Mesh A 2D polygon mesh used for drawing arbitrary textured shapes. 0.9.0
ParticleSystem Used to create cool effects, like fire.
SpriteBatch Store image positions in a buffer, and draw it in one call.
Text Drawable text. 0.10.0
Texture Superclass for drawable objects which represent a texture. 0.9.1
Video A drawable video. 0.10.0

See Also


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