Difference between revisions of "Bitmap"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2011.6<br/> === Description === <br /> The `Bitmap` class is used to display texture related objects...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Line 6: Line 6:
 
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.<br />
 
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.<br />
 
<br />
 
<br />
 +
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
{|-
 
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== 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%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 08:57, 23 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.






Methods

Bitmap.new - creates a new Bitmap object
Bitmap:getAnchorPoint - returns the x and y coordinates of the anchor point
Bitmap:setAnchorPoint - sets the anchor point
Bitmap:setTexture - sets the texture
Bitmap:setTextureRegion - sets the texture region

Events

Constants