Difference between revisions of "Drawable"

m
(Applying listings to included added and removed fields.)
 
Line 3: Line 3:
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Supertypes ==
 
== Supertypes ==
Line 10: Line 16:
 
{{#ask: [[Category:Types]] [[parent::Drawable]] [[Concept:Current]]
 
{{#ask: [[Category:Types]] [[parent::Drawable]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== See Also ==
 
== See Also ==

Latest revision as of 23:16, 29 March 2013

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. Added since 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. Added since 0.8.0
Framebuffer Off-screen render target. Added since 0.7.0 Removed in 0.8.0
Image Drawable image type.
Mesh A 2D polygon mesh used for drawing arbitrary textured shapes. Added since 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. Added since 0.10.0
Texture Superclass for drawable objects which represent a texture. Added since 0.9.1
Video A drawable video. Added since 0.10.0

See Also


Other Languages