sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    bottomRow: BottomRow

    An object with rendering information about the bottom row of the block.

    height: number

    The height of the rendered block, including child blocks.

    hiddenIcons: Blockly.blockRendering.Icon[]

    An array of measurable objects containing hidden icons.

    inputRows: InputRow[]

    An array of input rows on the block.

    isCollapsed: boolean

    Whether the block is collapsed.

    isInline: boolean

    Whether the block should be rendered as a single line, either because it's inline or because it has been collapsed.

    isInsertionMarker: boolean

    Whether the block is an insertion marker. Insertion markers are the same shape as normal blocks, but don't show fields.

    outputConnection: OutputConnection

    A measurable representing the output connection if the block has one. Otherwise null.

    rows: Row[]

    An array of Row objects containing sizing information.

    RTL: boolean

    True if the block should be rendered right-to-left.

    statementEdge: number
    topRow: TopRow

    An object with rendering information about the top row of the block.

    width: number

    The width of the rendered block, excluding child blocks. This is the right edge of the block when rendered LTR.

    widthWithChildren: number

    The width of the rendered block, including child blocks.

    Methods

    • Populate and return an object containing all sizing information needed to draw this block.

      This measure pass does not propagate changes to the block (although fields may choose to rerender when getSize() is called). However, calling it repeatedly may be expensive.

      Returns void

    • Create all non-spacer elements that belong on the bottom row.

      Returns void

    • Create all non-spacer elements that belong on the top row.

      Returns void