Constructor
new Rect(id, x, y, optionsopt)
- Description:
Instantiate a Rect object
- Source:
- See:
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
number | ID of the rectangle object |
|||||||||||||||||||||||||||||||
x |
number | X position to draw the rectangle |
|||||||||||||||||||||||||||||||
y |
number | Y position to draw the rectangle |
|||||||||||||||||||||||||||||||
options |
object |
<optional> |
Additional configuration options Properties
|
Extends
- DisplayWidget