Difference between revisions of "Image"

(added parentheses note)
(warning about po2 on images)
Line 1: Line 1:
 +
{{notice|Images are susceptible to [http://love2d.org/wiki/PO2_Syndrome Power of 2 syndrome] on many computers with lower end graphics.}}
 
Drawable image type.
 
Drawable image type.
 
== Functions ==
 
== Functions ==

Revision as of 18:45, 17 November 2010

O.png Images are susceptible to Power of 2 syndrome on many computers with lower end graphics.  


Drawable image type.

Functions

These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.

(Image):getDataGets the original ImageData or CompressedData used to create the Image.
(Image):getFlagsGets the flags used when the image was created.
(Image):isCompressedGets whether the Image was created from CompressedData.
(Image):isFormatLinearGets whether the Image was created with a the linear (non-gamma corrected) flag set to true.
(Image):refreshReloads the Image's contents from the ImageData or CompressedData used to create the image.
(Image):replacePixelsReplace the contents of an Image.
CanvasOff-screen render target.
Canvas (Nederlands)Off-screen render target.
FramebufferOff-screen render target.
ImageDrawable image type.
MeshA 2D polygon mesh used for drawing arbitrary textured shapes.
ParticleSystemUsed to create cool effects, like fire.
SpriteBatchStore image positions in a buffer, and draw it in one call.
SpriteBatch (Français)Stock des positions d'image dans un tampon, puis les trace en un seul appel.
TextDrawable text.
TextBatchOne or more precalculated strings of text stored in a Drawable object.
TextureSuperclass for drawable objects which represent a texture.
VideoA drawable video.

Supertypes

Drawable

See Also