Difference between revisions of "Bitmap"
From GiderosMobile
Line 12: | Line 12: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Methods</translate> === | === <translate>Methods</translate> === | ||
− | [[Special:MyLanguage/Bitmap.new|Bitmap.new]] ''<translate>creates a new Bitmap object</translate>''<br/><!-- GIDEROSMTD:Bitmap.new --> | + | [[Special:MyLanguage/Bitmap.new|Bitmap.new]] ''<translate>creates a new Bitmap object</translate>''<br/><!-- GIDEROSMTD:Bitmap.new(texture) creates a new Bitmap object --> |
− | [[Special:MyLanguage/Bitmap:getAnchorPoint|Bitmap:getAnchorPoint]] ''<translate>returns the x and y coordinates of the anchor point</translate>''<br/><!-- GIDEROSMTD:Bitmap:getAnchorPoint --> | + | [[Special:MyLanguage/Bitmap:getAnchorPoint|Bitmap:getAnchorPoint]] ''<translate>returns the x and y coordinates of the anchor point</translate>''<br/><!-- GIDEROSMTD:Bitmap:getAnchorPoint() returns the x and y coordinates of the anchor point --> |
− | [[Special:MyLanguage/Bitmap:setAnchorPoint|Bitmap:setAnchorPoint]] ''<translate>sets the anchor point</translate>''<br/><!-- GIDEROSMTD:Bitmap:setAnchorPoint --> | + | [[Special:MyLanguage/Bitmap:setAnchorPoint|Bitmap:setAnchorPoint]] ''<translate>sets the anchor point</translate>''<br/><!-- GIDEROSMTD:Bitmap:setAnchorPoint(x,y) sets the anchor point --> |
− | [[Special:MyLanguage/Bitmap:setTexture|Bitmap:setTexture]] ''<translate>sets the texture</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTexture --> | + | [[Special:MyLanguage/Bitmap:setTexture|Bitmap:setTexture]] ''<translate>sets the texture</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTexture(texture) sets the texture --> |
− | [[Special:MyLanguage/Bitmap:setTextureRegion|Bitmap:setTextureRegion]] ''<translate>sets the texture region</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTextureRegion --> | + | [[Special:MyLanguage/Bitmap:setTextureRegion|Bitmap:setTextureRegion]] ''<translate>sets the texture region</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTextureRegion(textureRegion) sets the texture region --> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Events</translate> === | === <translate>Events</translate> === | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === | ||
|} | |} |
Revision as of 15:33, 13 September 2018
Supported platforms:
Available since: Gideros 2011.6
Inherits from: Sprite
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 |