Module hilo/renderer/Renderer
Requires
hilo/core/Class, hilo/util/util
Source
Renderer.js
Renderer Renderer is the base class of renderer.
Property | Defined | |
---|---|---|
canvas:Object
The canvas of renderer.
|
Renderer | |
renderType:String
The render type of renderer, readonly.
|
Renderer | |
stage:Object
The stage of renderer, readonly.
|
Renderer |
Method | Defined | |
---|---|---|
Renderer(properties:Object)
Constructor
|
Renderer | |
clear(x:Number, y:Number, width:Number, height:Number)
Clear the given region of canvas.
|
Renderer | |
Draw the visual object.
|
Renderer | |
The handling method after draw the visual object.
|
Renderer | |
hide()
Hide the visual object.
|
Renderer | |
Remove the visual object from canvas.
|
Renderer | |
resize(width:Number, height:Number)
Resize the renderer's canvas.
|
Renderer | |
Prepare for draw visual object.
|
Renderer | |
Transfrom the visual object.
|
Renderer |