new CanvasBuffer(width, height)
Parameters:
Name | Type | Description |
---|---|---|
width |
Int | |
height |
Int |
- Source:
Example
var customBuffer = new DE.CanvasBuffer( 500, 250 );
Methods
-
<static> this.clear() → {CanvasBuffer}
-
clear the buffer
- Source:
Returns:
this current instance
- Type
- CanvasBuffer
-
<static> this.resize(newWidth, newHeight) → {CanvasBuffer}
-
resize the buffer
Parameters:
Name Type Description newWidth
Int newHeight
Int - Source:
Returns:
this current instance
- Type
- CanvasBuffer