Type Alias TLabelState

TLabelState: {
    appearance: TLabelAppearance;
    enabled: boolean;
    interactive: boolean;
    rank: TCollisionRankingTier | "initial";
    type: "label";
}

Defines the state for a label when its appearance is updated.

Type declaration

  • appearance: TLabelAppearance

    Appearance settings for the label.

  • enabled: boolean

    Whether the label is enabled.

  • interactive: boolean

    Whether the label is interactive.

  • rank: TCollisionRankingTier | "initial"

    Priority level of the label, used for determining display order.

  • type: "label"