Difference between revisions of "Bitmap"

From GiderosMobile
(template)
(removed language stuff)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
 
 
<!-- GIDEROSOBJ:Bitmap -->
 
<!-- GIDEROSOBJ:Bitmap -->
'''<translate>Supported platforms</translate>:''' [[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/>
+
'''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/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
'''Inherits from:''' [[Sprite]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
The [[Special:MyLanguage/Bitmap|Bitmap]] class is used to display texture related objects in the scene tree. It is possible to create Bitmap object from [[Special:MyLanguage/TextureBase|TextureBase]] or [[Special:MyLanguage/TextureRegion|TextureRegion]] instances.<br />
+
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.
<br /></translate>
+
 
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== <translate>Methods</translate> ===
+
=== Methods ===
[[Special:MyLanguage/Bitmap.new|Bitmap.new]] ''<translate>creates a new Bitmap object</translate>''<br/><!-- GIDEROSMTD:Bitmap.new(texture) creates a new Bitmap object -->
+
[[Bitmap.new]] ''creates a new Bitmap object''<br/><!--GIDEROSMTD:Bitmap.new(texture) creates a new Bitmap object-->
[[Special:MyLanguage/Bitmap:getAnchorPoint|Bitmap:getAnchorPoint]] ''<translate>returns the x and y coordinates of the anchor point</translate>''<br/><!-- GIDEROSMTD:Bitmap:getAnchorPoint() returns the x and y coordinates of the anchor point -->
+
[[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-->
[[Special:MyLanguage/Bitmap:setAnchorPoint|Bitmap:setAnchorPoint]] ''<translate>sets the anchor point</translate>''<br/><!-- GIDEROSMTD:Bitmap:setAnchorPoint(x,y) sets the anchor point -->
+
[[Bitmap:setAnchorPoint]] ''sets the anchor point''<br/><!--GIDEROSMTD:Bitmap:setAnchorPoint(x,y) sets the anchor point-->
[[Special:MyLanguage/Bitmap:setTexture|Bitmap:setTexture]] ''<translate>sets the texture</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTexture(texture) sets the texture -->
+
[[Bitmap:setTexture]] ''sets the texture''<br/><!--GIDEROSMTD:Bitmap:setTexture(texture) sets the texture-->
[[Special:MyLanguage/Bitmap:setTextureRegion|Bitmap:setTextureRegion]] ''<translate>sets the texture region</translate>''<br/><!-- GIDEROSMTD:Bitmap:setTextureRegion(textureRegion) sets the texture region -->
+
[[Bitmap:setTextureRegion]] ''sets the texture region''<br/><!--GIDEROSMTD:Bitmap:setTextureRegion(textureRegion) sets the texture region-->
 +
 
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== <translate>Events</translate> ===
+
=== Events ===
=== <translate>Constants</translate> ===
+
=== Constants ===
 
|}
 
|}
  
{{Bitmap}}
+
{{GIDEROS IMPORTANT LINKS}}

Latest revision as of 20:19, 11 June 2021

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 objects 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