Constructor

Connection

new Connection(constants, connectionModel)

The base class to represent a connection and the space that it takes up on the block.

Parameter

constants

Blockly.blockRendering.ConstantProvider

The rendering constants provider.

Value must not be null.

connectionModel

Blockly.RenderedConnection

The connection object on the block that this represents.

Extends
Blockly.blockRendering.Measurable

Property

constants_

protected

unknown

The renderer's constant provider.

Inherited from
Blockly.blockRendering.Measurable#constants_