Skip to main content

blockly > blockRendering > InRowSpacer > (constructor)

blockRendering.InRowSpacer.(constructor)

Constructs a new instance of the InRowSpacer class

Signature:

constructor(constants: ConstantProvider, width: number);

Parameters

Parameter

Type

Description

constants

ConstantProvider

The rendering constants provider.

width

number

The width of the spacer.