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. |