Class: Canvas
new Canvas(Number, Number)
Parameters:
| Name |
Type |
Description |
Number |
|
width |
Number |
|
height |
- Source:
Extends
Members
-
<static> this.aspect
-
Properties:
| Name |
Type |
Description |
Number |
|
aspect |
- Source:
-
<static> this.aspect
-
Properties:
| Name |
Type |
Description |
Number |
|
aspect |
- Source:
-
<static> this.canvasId
-
Properties:
| Name |
Type |
Description |
Number |
|
canvasId |
- Source:
-
<static> this.canvasId
-
Properties:
| Name |
Type |
Description |
Number |
|
canvasId |
- Source:
-
<static> this.customCursor
-
Properties:
| Name |
Type |
Description |
String |
|
customCursor |
- Source:
-
<static> this.customCursor
-
Properties:
| Name |
Type |
Description |
String |
|
customCursor |
- Source:
-
<static> this.element
-
Properties:
| Name |
Type |
Description |
HTMLCanvasElement |
|
element |
- Source:
-
<static> this.element
-
Properties:
| Name |
Type |
Description |
HTMLCanvasElement |
|
element |
- Source:
-
<static> this.fullScreen
-
Properties:
| Name |
Type |
Description |
Boolean |
|
fullScreen |
- Source:
-
<static> this.fullScreen
-
Properties:
| Name |
Type |
Description |
Boolean |
|
fullScreen |
- Source:
-
<static> this.height
-
Properties:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> this.height
-
Properties:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> this.hideMouse
-
Properties:
| Name |
Type |
Description |
Boolean |
|
hideMouse |
- Source:
-
<static> this.hideMouse
-
Properties:
| Name |
Type |
Description |
Boolean |
|
hideMouse |
- Source:
-
<static> this.pixelHeight
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelHeight |
- Source:
-
<static> this.pixelHeight
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelHeight |
- Source:
-
<static> this.pixelWidth
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelWidth |
- Source:
-
<static> this.pixelWidth
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelWidth |
- Source:
-
<static> this.width
-
Properties:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> this.width
-
Properties:
| Name |
Type |
Description |
Number |
|
width |
- Source:
Methods
-
<static> setBackgroundColor(String)
-
Parameters:
| Name |
Type |
Description |
String |
|
color |
- Source:
-
<static> setBackgroundColor(String)
-
Parameters:
| Name |
Type |
Description |
String |
|
color |
- Source:
-
<static> setFullscreen(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> setFullscreen(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> setHeight(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> setHeight(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> setWidth(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> setWidth(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> style(String, String)
-
Parameters:
| Name |
Type |
Description |
String |
|
key |
String |
|
value |
- Source:
-
<static> style(String, String)
-
Parameters:
| Name |
Type |
Description |
String |
|
key |
String |
|
value |
- Source:
new Canvas(Number, Number)
Parameters:
| Name |
Type |
Description |
Number |
|
width |
Number |
|
height |
- Source:
Extends
Members
-
<static> this.aspect
-
Properties:
| Name |
Type |
Description |
Number |
|
aspect |
- Source:
-
<static> this.aspect
-
Properties:
| Name |
Type |
Description |
Number |
|
aspect |
- Source:
-
<static> this.canvasId
-
Properties:
| Name |
Type |
Description |
Number |
|
canvasId |
- Source:
-
<static> this.canvasId
-
Properties:
| Name |
Type |
Description |
Number |
|
canvasId |
- Source:
-
<static> this.customCursor
-
Properties:
| Name |
Type |
Description |
String |
|
customCursor |
- Source:
-
<static> this.customCursor
-
Properties:
| Name |
Type |
Description |
String |
|
customCursor |
- Source:
-
<static> this.element
-
Properties:
| Name |
Type |
Description |
HTMLCanvasElement |
|
element |
- Source:
-
<static> this.element
-
Properties:
| Name |
Type |
Description |
HTMLCanvasElement |
|
element |
- Source:
-
<static> this.fullScreen
-
Properties:
| Name |
Type |
Description |
Boolean |
|
fullScreen |
- Source:
-
<static> this.fullScreen
-
Properties:
| Name |
Type |
Description |
Boolean |
|
fullScreen |
- Source:
-
<static> this.height
-
Properties:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> this.height
-
Properties:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> this.hideMouse
-
Properties:
| Name |
Type |
Description |
Boolean |
|
hideMouse |
- Source:
-
<static> this.hideMouse
-
Properties:
| Name |
Type |
Description |
Boolean |
|
hideMouse |
- Source:
-
<static> this.pixelHeight
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelHeight |
- Source:
-
<static> this.pixelHeight
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelHeight |
- Source:
-
<static> this.pixelWidth
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelWidth |
- Source:
-
<static> this.pixelWidth
-
Properties:
| Name |
Type |
Description |
Number |
|
pixelWidth |
- Source:
-
<static> this.width
-
Properties:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> this.width
-
Properties:
| Name |
Type |
Description |
Number |
|
width |
- Source:
Methods
-
<static> setBackgroundColor(String)
-
Parameters:
| Name |
Type |
Description |
String |
|
color |
- Source:
-
<static> setBackgroundColor(String)
-
Parameters:
| Name |
Type |
Description |
String |
|
color |
- Source:
-
<static> setFullscreen(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> setFullscreen(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> setHeight(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> setHeight(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
height |
- Source:
-
<static> setWidth(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> setWidth(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
width |
- Source:
-
<static> style(String, String)
-
Parameters:
| Name |
Type |
Description |
String |
|
key |
String |
|
value |
- Source:
-
<static> style(String, String)
-
Parameters:
| Name |
Type |
Description |
String |
|
key |
String |
|
value |
- Source: