Difference between revisions of "Drawable"

(Quads aren't Drawables!)
(Applying listings to included added and removed fields.)
 
(3 intermediate revisions by 3 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.
 
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]]
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Supertypes ==
 
== Supertypes ==
[[Object]]
+
* [[parent::Object]]
 
== Subtypes ==
 
== Subtypes ==
* [[Framebuffer]]
+
{{#ask: [[Category:Types]] [[parent::Drawable]] [[Concept:Current]]
* [[Image]]
+
| headers=hide
* [[ParticleSystem]]
+
| format=template
* [[SpriteBatch]]
+
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 +
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

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