Difference between revisions of "Bitmap"
From GiderosMobile
Tag: Undo |
Tag: Undo |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | <languages /> | |
− | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/> | + | <!-- GIDEROSOBJ:Bitmap --> |
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/> |
− | '''Inherits from:''' [[Sprite]]<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | + | '''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/> | |
− | === Description === | + | === <translate>Description</translate> === |
− | 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. | + | <translate><br /> |
− | <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 /> |
− | + | <br /></translate> | |
{|- | {|- | ||
− | |||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | + | === <translate>Methods</translate> === | |
− | === Methods === | + | [[Special:MyLanguage/Bitmap.new|Bitmap.new]] ''<translate>creates a new Bitmap object</translate>''<br/><!-- GIDEROSMTD:Bitmap.new(texture) creates a new Bitmap object --> |
− | [[Bitmap.new]] ''creates a new Bitmap object''<br/> | + | [[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 --> |
− | [[Bitmap:getAnchorPoint]] ''returns the x and y coordinates of the anchor point''<br/> | + | [[Special:MyLanguage/Bitmap:setAnchorPoint|Bitmap:setAnchorPoint]] ''<translate>sets the anchor point</translate>''<br/><!-- GIDEROSMTD:Bitmap:setAnchorPoint(x,y) sets the anchor point --> |
− | [[Bitmap:setAnchorPoint]] ''sets the anchor point''<br/> | + | [[Special:MyLanguage/Bitmap:setTexture|Bitmap:setTexture]] ''<translate>sets the texture</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTexture(texture) sets the texture --> |
− | [[Bitmap:setTexture]] ''sets the texture''<br/> | + | [[Special:MyLanguage/Bitmap:setTextureRegion|Bitmap:setTextureRegion]] ''<translate>sets the texture region</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTextureRegion(textureRegion) sets the texture region --> |
− | [[Bitmap:setTextureRegion]] ''sets the texture region''<br/> | ||
− | |||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | + | === <translate>Events</translate> === | |
− | === Events === | + | === <translate>Constants</translate> === |
− | |||
− | === Constants === | ||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− |
Revision as of 11:04, 4 December 2019
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 |