Constructor

Field

new Field(constants, field, parentInput)

An object containing information about the space a field takes up during rendering

Parameter

constants

Blockly.blockRendering.ConstantProvider

The rendering constants provider.

Value must not be null.

field

Blockly.Field

The field to measure and store information for.

Value must not be null.

parentInput

Blockly.Input

The parent input for the field.

Value must not be null.

Extends
Blockly.blockRendering.Measurable

Property

constants_

protected

unknown

The renderer's constant provider.

Inherited from
Blockly.blockRendering.Measurable#constants_