Namespacesutilsblockly.utils.rect._constructor_On this pageHome > blockly > utils > Rect > (constructor) utils.Rect.(constructor) Constructs a new instance of the Rect class Signature: constructor(top: number, bottom: number, left: number, right: number); Parameters ParameterTypeDescriptiontopnumberTop.bottomnumberBottom.leftnumberLeft.rightnumberRight.