Difference between revisions of "Bitmap"
From GiderosMobile
Line 7: | Line 7: | ||
<br /></translate> | <br /></translate> | ||
{|- | {|- | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Methods === | === Methods === | ||
− | [[Bitmap.new]] | + | [[Bitmap.new]] ''<translate>creates a new Bitmap object</translate>''<br/> |
− | [[Bitmap:getAnchorPoint]] | + | [[Bitmap:getAnchorPoint]] ''<translate>returns the x and y coordinates of the anchor point</translate>''<br/> |
− | [[Bitmap:setAnchorPoint]] | + | [[Bitmap:setAnchorPoint]] ''<translate>sets the anchor point</translate>''<br/> |
− | [[Bitmap:setTexture]] | + | [[Bitmap:setTexture]] ''<translate>sets the texture</translate>''<br/> |
− | [[Bitmap:setTextureRegion]] | + | [[Bitmap:setTextureRegion]] ''<translate>sets the texture region</translate>''<br/> |
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 14:35, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The Bitmap class is used to display texture related objects in the scene tree. It is possible to create Bitmap object from TextureBase or TextureRegion instances.
MethodsBitmap.new creates a new Bitmap object |
EventsConstants |