Difference between revisions of "Bitmap"

(Undo revision 13654 by MoKaLux (talk))
(Tag: Undo)
(template)
Line 21: Line 21:
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
 
|}
 
|}
 +
 +
{{Bitmap}}

Revision as of 11:58, 4 December 2019


Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
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.

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