Skip to main content

Class: ExternalValueInput

Defined in: packages/blockly/core/renderers/measurables/external_value_input.ts:18

An object containing information about the space an external value input takes up during rendering

Extends

Properties index

PropertyDescription
type-
xPos-
centerline-
notchOffset-
constants_The renderer's constant provider.
shape-
isDynamicShape-
highlighted-
connectionModelThe connection object on the block that this represents.
height-
width-
connectionOffsetY-
connectionHeight-
connectionWidth-
align-
connectedBlock-
connectedBlockWidth-
connectedBlockHeight-
connectionOffsetX-
inputThe input to measure and store information for.

Constructors

Constructor

new ExternalValueInput(constants, input): ExternalValueInput;

Defined in: packages/blockly/core/renderers/measurables/external_value_input.ts:29

Parameters

ParameterTypeDescription
constantsConstantProviderThe rendering constants provider.
inputInputThe external value input to measure and store information for.

Returns

ExternalValueInput

Overrides

InputConnection.constructor

Properties

type

type: number;

Defined in: packages/blockly/core/renderers/measurables/base.ts:21

Inherited from

InputConnection.type


xPos

xPos: number = 0;

Defined in: packages/blockly/core/renderers/measurables/base.ts:22

Inherited from

InputConnection.xPos


centerline

centerline: number = 0;

Defined in: packages/blockly/core/renderers/measurables/base.ts:24

Inherited from

InputConnection.centerline


notchOffset

notchOffset: number;

Defined in: packages/blockly/core/renderers/measurables/base.ts:25

Inherited from

InputConnection.notchOffset


constants_

protected readonly constants_: ConstantProvider;

Defined in: packages/blockly/core/renderers/measurables/base.ts:28

The renderer's constant provider.

Inherited from

InputConnection.constants_


shape

shape: Shape;

Defined in: packages/blockly/core/renderers/measurables/connection.ts:19

Inherited from

InputConnection.shape


isDynamicShape

isDynamicShape: boolean;

Defined in: packages/blockly/core/renderers/measurables/connection.ts:20

Inherited from

InputConnection.isDynamicShape


highlighted

highlighted: boolean;

Defined in: packages/blockly/core/renderers/measurables/connection.ts:21

Inherited from

InputConnection.highlighted


connectionModel

connectionModel: RenderedConnection;

Defined in: packages/blockly/core/renderers/measurables/connection.ts:30

The connection object on the block that this represents.

Inherited from

InputConnection.connectionModel


height

height: number = 0;

Defined in: packages/blockly/core/renderers/measurables/external_value_input.ts:19

Overrides

InputConnection.height


width

width: number;

Defined in: packages/blockly/core/renderers/measurables/external_value_input.ts:20

Overrides

InputConnection.width


connectionOffsetY

connectionOffsetY: number;

Defined in: packages/blockly/core/renderers/measurables/external_value_input.ts:21

Overrides

InputConnection.connectionOffsetY


connectionHeight

connectionHeight: number;

Defined in: packages/blockly/core/renderers/measurables/external_value_input.ts:22


connectionWidth

connectionWidth: number;

Defined in: packages/blockly/core/renderers/measurables/external_value_input.ts:23


align

align: number;

Defined in: packages/blockly/core/renderers/measurables/input_connection.ts:21

Inherited from

InputConnection.align


connectedBlock

connectedBlock: BlockSvg | null;

Defined in: packages/blockly/core/renderers/measurables/input_connection.ts:22

Inherited from

InputConnection.connectedBlock


connectedBlockWidth

connectedBlockWidth: number;

Defined in: packages/blockly/core/renderers/measurables/input_connection.ts:23

Inherited from

InputConnection.connectedBlockWidth


connectedBlockHeight

connectedBlockHeight: number;

Defined in: packages/blockly/core/renderers/measurables/input_connection.ts:24

Inherited from

InputConnection.connectedBlockHeight


connectionOffsetX

connectionOffsetX: number = 0;

Defined in: packages/blockly/core/renderers/measurables/input_connection.ts:25

Inherited from

InputConnection.connectionOffsetX


input

input: Input;

Defined in: packages/blockly/core/renderers/measurables/input_connection.ts:34

The input to measure and store information for.

Inherited from

InputConnection.input