Skip to main content
Version: Next

OverlayLabelSettings

Index

Constructors

constructor

Properties

color

color: string = AST_DEFAULT_COLOR

customColor

customColor: boolean = false

customLabelX

customLabelX: string = ""

customLabelY

customLabelY: string = ""

customText

customText: boolean = false

font

font: number = 0

fontSize

fontSize: number = 15

hidden

hidden: boolean = false

raDecReference

raDecReference: boolean = true

visible

visible: boolean = PreferenceStore.Instance.astLabelsVisible

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

setRaDecReference

  • setRaDecReference(raDecReference: boolean): void
  • Parameters

    • raDecReference: boolean

    Returns void

setVisible

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

    • visible: boolean = true

    Returns void