Skip to main content

blockly > blockRendering > SpacerRow > (constructor)

blockRendering.SpacerRow.(constructor)

Constructs a new instance of the SpacerRow class

Signature:

constructor(constants: ConstantProvider, height: number, width: number);

Parameters

Parameter

Type

Description

constants

ConstantProvider

The rendering constants provider.

height

number

The height of the spacer.

width

number

The width of the spacer.