Skip to main content
Version: Next

OverlayLabelSettings

Index

Constructors

constructor

Properties

color

color: string = AST_DEFAULT_COLOR

customLabelX

customLabelX: string = ""

customLabelY

customLabelY: string = ""

font

font: number = 0

fontSize

fontSize: number = 15

hasCustomColor

hasCustomColor: boolean = false

hasCustomText

hasCustomText: boolean = false

hasRaDecReference

hasRaDecReference: boolean = true

isHidden

isHidden: boolean = false

isVisible

isVisible: boolean = PreferenceStore.Instance.isAstLabelsVisible

Accessors

isShown

  • get isShown(): boolean
  • Returns boolean

styleString

  • get styleString(): string
  • Returns string

Methods

setColor

  • setColor(color: string): void
  • Parameters

    • color: string

    Returns void

setCustomColor

  • setCustomColor(hasCustomColor: boolean): void
  • Parameters

    • hasCustomColor: 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(hasCustomText: boolean): void
  • Parameters

    • hasCustomText: 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(isHidden: boolean): void
  • Parameters

    • isHidden: boolean

    Returns void

setRaDecReference

  • setRaDecReference(hasRaDecReference: boolean): void
  • Parameters

    • hasRaDecReference: boolean

    Returns void

setVisible

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

    • isVisible: boolean = true

    Returns void