CanvasRenderer


Inheritance CanvasRenderer Renderer Module hilo/renderer/CanvasRenderer Requires hilo/core/Class, hilo/core/Hilo, hilo/renderer/Renderer Source CanvasRenderer.js
CanvasRenderer CanvasRenderer, all the visual object is drawing on the canvas element.The stage will create different renderer depend on the canvas and renderType properties, developer need not use this class directly.

Properties

Show Inherited Properties
Property Defined
context:CanvasRenderingContext2D
The context of the canvas element, readonly.
CanvasRenderer

Methods

Show Inherited Methods
Method Defined
CanvasRenderer(properties:Object)
Constructor
CanvasRenderer

Property Detail

context:CanvasRenderingContext2D
The context of the canvas element, readonly.

Constructor

CanvasRenderer(properties:Object)
parameters
properties:Object — The properties to create a renderer, contains all writeable props of this class.