Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UILegendBoxBuilder<BackgroundType>

Public interface for builder of LegendBox.

Index

Methods

addStyler

  • Make new Builder with an additional styler.

    Parameters

    Returns this

    New Builder

getAlignment

  • getAlignment(): "horizontal" | "vertical"
  • Get alignment of LegendBoxBuilder.

    Eq. "Horizontal" meaning that the LegendBox progresses in the X-direction, and aligns its groups downwards.

    Returns "horizontal" | "vertical"

    Alignment for LegendBox

setAlignment

  • Make new LegendBoxBuilder with different alignment of entries.

    Eq. "Horizontal" meaning that the LegendBox progresses in the X-direction, and aligns its groups downwards.

    Parameters

    • alignment: "horizontal" | "vertical"

      Alignment for LegendBox

    Returns UILegendBoxBuilder<BackgroundType>

    New LegendBoxBuilder

setBackground

  • setBackground(newBackground: BackgroundConstructor<NewBackgroundType>): UILegendBoxBuilder<NewBackgroundType>
  • Make new LegendBoxBuilder with different background

    Type parameters

    • NewBackgroundType: BackgroundType

    Parameters

    • newBackground: BackgroundConstructor<NewBackgroundType>

      Constructor for Background

    Returns UILegendBoxBuilder<NewBackgroundType>

    New LegendBoxBuilder

styleEntries

  • Make new LegendBoxBuilder with explicitly styled entries.

    Parameters

    Returns UILegendBoxBuilder<BackgroundType>

    New LegendBoxBuilder

styleTitle

  • Make new LegendBoxBuilder with explicitly styled title.

    Parameters

    Returns UILegendBoxBuilder<BackgroundType>

    New LegendBoxBuilder