Skip to main content

blockly > utils > Size > (constructor)

utils.Size.(constructor)

Constructs a new instance of the Size class

Signature:

constructor(width: number, height: number);

Parameters

Parameter

Type

Description

width

number

Width.

height

number

Height.