Skip to main content

Home > blockly > utils > Size > (constructor)

utils.Size.(constructor)

Constructs a new instance of the Size class

Signature:

constructor(width: number, height: number);

Parameters

ParameterTypeDescription
widthnumberWidth.
heightnumberHeight.