Difference between revisions of "TextureBase"
From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2011.6<br/> === Description === <br /> `TextureBase` is the base class for `Texture` and `TexturePack...") |
|||
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 11: | Line 11: | ||
</ul><br /> | </ul><br /> | ||
<br /> | <br /> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
{|- | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
+ | [[TextureBase:getHeight]] - returns the height of the texture in pixels<br/> | ||
+ | [[TextureBase:getWidth]] - returns the width of the texture in pixels<br/> | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
+ | [[TextureBase.CLAMP]] | ||
+ | [[TextureBase.REPEAT]] | ||
+ | [[TextureBase.RGB565]] | ||
+ | [[TextureBase.RGB888]] | ||
+ | [[TextureBase.RGBA4444]] | ||
+ | [[TextureBase.RGBA5551]] | ||
+ | [[TextureBase.RGBA8888]] | ||
|} | |} |
Revision as of 08:58, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
`TextureBase` is the base class for `Texture` and `TexturePack` classes. It provides a common functionaly to texture related classes.
<ul>
<li>TextureBase.CLAMP = "clamp"</li>
<li>TextureBase.REPEAT = "repeat"</li>
</ul>
MethodsTextureBase:getHeight - returns the height of the texture in pixels |
EventsConstantsTextureBase.CLAMP TextureBase.REPEAT TextureBase.RGB565 TextureBase.RGB888 TextureBase.RGBA4444 TextureBase.RGBA5551 TextureBase.RGBA8888 |