Difference between revisions of "Bitmap"
From GiderosMobile
Line 5: | Line 5: | ||
<br /> | <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 /> | 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 === |
Revision as of 09:12, 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.
{|-
| style="width: 50%;"|
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
| style="width: 50%;"|
Events
Constants
|}