See the 2022 Blockly Developer Summit site here.

Class: Connection

Constructor

Connection

new Connection(constants, connectionModel)

Parameter

constants

The rendering constants provider.

Value must not be null.

connectionModel

The connection object on the block that this represents.

Value must not be null.

Extends
Blockly.blockRendering.Measurable

Properties

connectionModel

non-null Blockly.RenderedConnection

isDynamicShape

boolean

shape

non-null Object

centerline

unknown

Inherited from
Blockly.blockRendering.Measurable#centerline

constants_

protected

unknown

The renderer's constant provider.

Inherited from
Blockly.blockRendering.Measurable#constants_

height

unknown

Inherited from
Blockly.blockRendering.Measurable#height

notchOffset

unknown

Inherited from
Blockly.blockRendering.Measurable#notchOffset

type

unknown

Inherited from
Blockly.blockRendering.Measurable#type

width

unknown

Inherited from
Blockly.blockRendering.Measurable#width

xPos

unknown

Inherited from
Blockly.blockRendering.Measurable#xPos