Skip to main content

Home > blockly > utils > Coordinate > (constructor)

utils.Coordinate.(constructor)

Constructs a new instance of the Coordinate class

Signature:

constructor(x: number, y: number);

Parameters

ParameterTypeDescription
xnumberLeft.
ynumberTop.