Table of Contents


Inherits: Object

Supported platforms:

Available since version: Gideros 2015.08


Main Object class from which all Gideros classes inherit.
There is no other purpose for this classes, rather a neat way to add methods to all Gideros classes

Common uses and examples:

Example usage

local bmp ="image.png")
print(bmp:getClass()) -- prints Bitmap
print(bmp:getBaseClass()) -- prints Sprite
print(bmp:isInstanceOf("Bitmap")) -- prints true
print(bmp:isInstanceOf("Sprite")) -- prints true
print(bmp:isInstanceOf("EventDispatcher")) -- prints true
print(bmp:isInstanceOf("Object")) -- prints true
print(bmp:isInstanceOf("TileMap")) -- prints false

Methods, events and properties: