Difference between revisions of "Drawable"

 
(Applying listings to included added and removed fields.)
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
+
Superclass for all things that can be drawn on screen. This is an abstract type that can't be created directly.
 
+
== Functions ==
 +
{{#ask: [[Category:Functions]] [[parent::Object]]
 +
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 +
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
}}
 +
== Supertypes ==
 +
* [[parent::Object]]
 
== Subtypes ==
 
== Subtypes ==
[[Image]]
+
{{#ask: [[Category:Types]] [[parent::Drawable]] [[Concept:Current]]
[[ParticleSystem]]
+
| headers=hide
[[SpriteBatch]]
+
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 +
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
[[Category:Types]]
 
[[Category:Types]]
{{#set:Description=}}
+
{{#set:Description=Superclass for all things that can be drawn on screen.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|Drawable}}

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