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