Difference between revisions of "Bitmap"
From GiderosMobile
(----) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | ||
− | + | '''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 object from [[TextureBase]] or [[TextureRegion]] instances. | |
− | The [[ | + | <br /> |
− | + | ||
{|- | {|- | ||
+ | |||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | |
− | [[ | + | === Methods === |
− | [[ | + | [[Bitmap.new]] ''creates a new Bitmap object''<br/> |
− | [[ | + | [[Bitmap:getAnchorPoint]] ''returns the x and y coordinates of the anchor point''<br/> |
− | [[ | + | [[Bitmap:setAnchorPoint]] ''sets the anchor point''<br/> |
− | [[ | + | [[Bitmap:setTexture]] ''sets the texture''<br/> |
+ | [[Bitmap:setTextureRegion]] ''sets the texture region''<br/> | ||
+ | |||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | |
− | === | + | === Events === |
+ | |||
+ | === Constants === | ||
+ | |||
|} | |} | ||
+ | |||
+ | ---- | ||
+ | {{Special:PrefixIndex/Bitmap}} | ||
+ | <br/> |
Revision as of 16:30, 2 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 |