blockly > utils > Rect > (constructor)
utils.Rect.(constructor)
Constructs a new instance of the Rect
class
Signature:
constructor(top: number, bottom: number, left: number, right: number);
Parameters
Parameter | Type | Description |
---|---|---|
top | number | Top. |
bottom | number | Bottom. |
left | number | Left. |
right | number | Right. |