Difference between revisions of "Bitmap"
From GiderosMobile
Line 9: | Line 9: | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== 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%;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 14:20, 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.