Rendering.IRenderable
Description: Represents a renderable object that can be drawn to a canvas.
Fields
ZIndex: number
Gets or sets the ZIndex property. The ZIndex is used to control draw order. Higher ZIndexes appear above lower ZIndexed renderables.
Visible: boolean
Gets or sets the Visible property. The Visible property determines whether the renderable will be drawn to the game screen.
Methods
Draw()
Draws the renderable to the provided canvas context
GetDrawBounds()
Returns the bounding area that represents where the renderable will draw.
Examples
There's currently no example available for this page. If you'd like to suggest one send me an containing a description, code, and link to the page for the suggested example. As a thanks I'll associate the code snippet with your name directly below the example if approved.