Difference between revisions of "Bitmap"
From GiderosMobile
(removed language stuff) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
<!-- GIDEROSOBJ:Bitmap --> | <!-- GIDEROSOBJ:Bitmap --> | ||
− | ''' | + | '''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/> |
− | ''' | + | '''Available since:''' Gideros 2011.6<br/> |
− | ''' | + | '''Inherits from:''' [[Sprite]]<br/> |
− | === | + | === Description === |
− | The Bitmap class is used to display texture related objects in the scene tree. It is possible to create Bitmap objects from [[ | + | The Bitmap class is used to display texture related objects in the scene tree. It is possible to create Bitmap objects from [[TextureBase]] or [[TextureRegion]] instances. |
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | === Methods === |
− | [[ | + | [[Bitmap.new]] ''creates a new Bitmap object''<br/><!--GIDEROSMTD:Bitmap.new(texture) creates a new Bitmap object--> |
− | <!-- GIDEROSMTD:Bitmap.new(texture) creates a new Bitmap object --> | + | [[Bitmap:getAnchorPoint]] ''returns the x and y coordinates of the anchor point''<br/><!--GIDEROSMTD:Bitmap:getAnchorPoint() returns the x and y coordinates of the anchor point--> |
− | [[ | + | [[Bitmap:setAnchorPoint]] ''sets the anchor point''<br/><!--GIDEROSMTD:Bitmap:setAnchorPoint(x,y) sets the anchor point--> |
− | <!-- GIDEROSMTD:Bitmap:getAnchorPoint() returns the x and y coordinates of the anchor point --> | + | [[Bitmap:setTexture]] ''sets the texture''<br/><!--GIDEROSMTD:Bitmap:setTexture(texture) sets the texture--> |
− | [[ | + | [[Bitmap:setTextureRegion]] ''sets the texture region''<br/><!--GIDEROSMTD:Bitmap:setTextureRegion(textureRegion) sets the texture region--> |
− | <!-- GIDEROSMTD:Bitmap:setAnchorPoint(x,y) sets the anchor point --> | ||
− | [[ | ||
− | <!-- GIDEROSMTD:Bitmap:setTexture(texture) sets the texture --> | ||
− | [[ | ||
− | <!-- GIDEROSMTD:Bitmap:setTextureRegion(textureRegion) sets the texture region --> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | === Events === |
− | === | + | === Constants === |
|} | |} | ||
{{GIDEROS IMPORTANT LINKS}} | {{GIDEROS IMPORTANT LINKS}} |
Latest revision as of 20:19, 11 June 2021
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 objects from TextureBase or TextureRegion instances.
MethodsBitmap.new creates a new Bitmap object |
EventsConstants |