Skip to main content
Version: 4.1.0

OverlayLabelSettings

Index

Constructors

constructor

  • new OverlayLabelSettings(): OverlayLabelSettings
  • Returns OverlayLabelSettings

Properties

color

color: string

customColor

customColor: boolean

customLabelX

customLabelX: string

customLabelY

customLabelY: string

customText

customText: boolean

font

font: number

fontSize

fontSize: number

hidden

hidden: boolean

visible

visible: boolean

Accessors

show

  • get show(): boolean
  • Returns boolean

styleString

  • get styleString(): string
  • Returns string

Methods

setColor

  • setColor(color: string): void
  • Parameters

    • color: string

    Returns void

setCustomColor

  • setCustomColor(customColor: boolean): void
  • Parameters

    • customColor: boolean

    Returns void

setCustomLabelX

  • setCustomLabelX(label: string): void
  • Parameters

    • label: string

    Returns void

setCustomLabelY

  • setCustomLabelY(label: string): void
  • Parameters

    • label: string

    Returns void

setCustomText

  • setCustomText(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setFont

  • setFont(font: number): void
  • Parameters

    • font: number

    Returns void

setFontSize

  • setFontSize(fontSize: number): void
  • Parameters

    • fontSize: number

    Returns void

setHidden

  • setHidden(hidden: boolean): void
  • Parameters

    • hidden: boolean

    Returns void

setVisible

  • setVisible(visible?: boolean): void
  • Parameters

    • visible: boolean = true

    Returns void