Class CP_Canvas
Defined in: Canvas.js.
Constructor Attributes | Constructor Name and Description |
---|---|
CP_Canvas(w, h)
Canvas object
|
Method Attributes | Method Name and Description |
---|---|
bind()
Bind canvas events
|
|
on(e)
Abstract event handler
|
|
resize()
Resize the canvas object
|
Method Detail
{CP_Canvas}
bind()
Bind canvas events
- Returns:
- {CP_Canvas}
on(e)
Abstract event handler
- Parameters:
- {String} e
{CP_Canvas}
resize()
Resize the canvas object
- Returns:
- {CP_Canvas}