Skip to main content

blockly > blockRendering > SpacerRow

blockRendering.SpacerRow class

An object containing information about a spacer between two rows.

Signature:

export declare class SpacerRow extends Row 

Extends: Row

Constructors

Constructor

Modifiers

Description

(constructor)(constants, height, width)

Constructs a new instance of the SpacerRow class

Properties

Property

Modifiers

Type

Description

elements

InRowSpacer[]

followsStatement

boolean

height

number

precedesStatement

boolean

width

number

widthWithConnectedBlocks

number

Methods

Method

Modifiers

Description

measure()