Home > blockly > utils > Coordinate > (constructor)
utils.Coordinate.(constructor)
Constructs a new instance of the Coordinate class
Signature:
constructor(x: number, y: number);
Parameters
| Parameter | Type | Description |
|---|---|---|
| x | number | Left. |
| y | number | Top. |
Home > blockly > utils > Coordinate > (constructor)
Constructs a new instance of the Coordinate class
Signature:
constructor(x: number, y: number);
| Parameter | Type | Description |
|---|---|---|
| x | number | Left. |
| y | number | Top. |