Skip to main content

blockly > blockRendering > Connection

blockRendering.Connection class

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

Signature:

export declare class Connection extends Measurable 

Extends: Measurable

Constructors

Constructor

Modifiers

Description

(constructor)(constants, connectionModel)

Constructs a new instance of the Connection class

Properties

Property

Modifiers

Type

Description

connectionModel

RenderedConnection

highlighted

boolean

isDynamicShape

boolean

shape

Shape