sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    collapseHidden: any

    Does this icon get hidden when the block is collapsed.

    iconGroup_: SVGGElement

    The icon SVG group.

    SIZE: any

    Height and width of icons.

    Methods

    • Change the colour of the associated bubble to match its block.

      Returns void

    • Notification that the icon has moved, but we don't really know where. Recompute the icon's location from scratch.

      Returns void

    • Create the icon on the block.

      Returns void

    • Dispose of this icon.

      Returns void

    • Get the size of the icon as used for rendering. This differs from the actual size of the icon, because it bulges slightly out of its row rather than increasing the height of its row.

      Returns Blockly.utils.Size

      Height and width.

    • Returns the center of the block's icon relative to the surface.

      Returns Blockly.utils.Coordinate

      Object with x and y properties in workspace coordinates.

    • Is the associated bubble visible?

      Returns boolean

      True if the bubble is visible.

    • Notification that the icon has moved. Update the arrow accordingly.

      Parameters

      Returns void

    • Show or hide the icon.

      Parameters

      • visible: boolean

        True if the icon should be visible.

      Returns void

    • Add or remove the UI indicating if this icon may be clicked or not.

      Returns void