Constructor

Measurable

new Measurable(constants)

The base class to represent a part of a block that takes up space during rendering. The constructor for each non-spacer Measurable records the size of the block element (e.g. field, statement input).

Parameter

constants

Blockly.blockRendering.ConstantProvider

The rendering constants provider.

Value must not be null.

Property

constants_

protected

non-null Blockly.blockRendering.ConstantProvider

The renderer's constant provider.