Skip to main content
Version: Next

OverlayGridSettings

Index

Constructors

constructor

Properties

color

color: string = AST_DEFAULT_COLOR

customColor

customColor: boolean = false

customGap

customGap: boolean = false

gapX

gapX: number = 0.2

gapY

gapY: number = 0.2

visible

visible: boolean = PreferenceStore.Instance.astGridVisible

width

width: number = 1

Accessors

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

setCustomGap

  • setCustomGap(customGap?: boolean): void
  • Parameters

    • customGap: boolean = true

    Returns void

setGapX

  • setGapX(gap: number): void
  • Parameters

    • gap: number

    Returns void

setGapY

  • setGapY(gap: number): void
  • Parameters

    • gap: number

    Returns void

setVisible

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

    • visible: boolean = true

    Returns void

setWidth

  • setWidth(width: number): void
  • Parameters

    • width: number

    Returns void