Skip to main content
Version: Next

OverlayNumberSettings

Index

Constructors

constructor

Properties

color

color: string = AST_DEFAULT_COLOR

customColor

customColor: boolean = false

customFormat

customFormat: boolean = false

customPrecision

customPrecision: boolean = false

defaultFormatX

defaultFormatX: NumberFormatType | undefined = NumberFormatType.Degrees

defaultFormatY

defaultFormatY: NumberFormatType | undefined = NumberFormatType.Degrees

font

font: number = 0

fontSize

fontSize: number = 12

formatX

formatX: NumberFormatType = NumberFormatType.Degrees

formatY

formatY: NumberFormatType = NumberFormatType.Degrees

hidden

hidden: boolean = false

precision

precision: number = 3

validWcs

validWcs: boolean = false

visible

visible: boolean = true

Accessors

formatStringX

  • get formatStringX(): string | undefined
  • Returns string | undefined

formatStringY

  • get formatStringY(): string | undefined
  • Returns string | undefined

formatTypeX

formatTypeY

show

  • get show(): boolean
  • Returns boolean

styleString

  • get styleString(): string
  • Returns string

Methods

cursorFormatStringX

  • cursorFormatStringX(precision: number): string | undefined
  • Parameters

    • precision: number

    Returns string | undefined

cursorFormatStringY

  • cursorFormatStringY(precision: number): string | undefined
  • Parameters

    • precision: number

    Returns string | undefined

setColor

  • setColor(color: string): void
  • Parameters

    • color: string

    Returns void

setCustomColor

  • setCustomColor(customColor: boolean): void
  • Parameters

    • customColor: boolean

    Returns void

setCustomFormat

  • setCustomFormat(customFormat: boolean): void
  • Parameters

    • customFormat: boolean

    Returns void

setCustomPrecision

  • setCustomPrecision(customPrecision: boolean): void
  • Parameters

    • customPrecision: boolean

    Returns void

setDefaultFormatX

setDefaultFormatY

setFont

  • setFont(font: number): void
  • Parameters

    • font: number

    Returns void

setFontSize

  • setFontSize(fontSize: number): void
  • Parameters

    • fontSize: number

    Returns void

setFormatX

setFormatY

setHidden

  • setHidden(hidden: boolean): void
  • Parameters

    • hidden: boolean

    Returns void

setPrecision

  • setPrecision(precision: number): void
  • Parameters

    • precision: number

    Returns void

setValidWcs

  • setValidWcs(validWcs: boolean): void
  • Parameters

    • validWcs: boolean

    Returns void

setVisible

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

    • visible: boolean = true

    Returns void