Constructor

StatementInput

new StatementInput(constants, input)

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

Parameter

constants

Blockly.blockRendering.ConstantProvider

The rendering constants provider.

Value must not be null.

input

Blockly.Input

The statement input to measure and store information for.

Value must not be null.

Extends
Blockly.blockRendering.InputConnection

Property

constants_

protected

unknown

The renderer's constant provider.

Inherited from
Blockly.blockRendering.Measurable#constants_