Options
All
  • Public
  • Public/Protected
  • All
Menu

Draws the vertical grid lines based on the scale resolutions currently present in the dateline. The layer can be configured to display 0 to 3 grid line levels (see GraphicsBase.setMaxGridLevel(int)). If the dateline is, for example, showing days and weeks then a level of 2 would cause the layer to draw grid lines for days and weeks, while a grid line level of 1 would only render grid lines for days.

since

1.0

see

```Dateline.getScaleResolutions(), GraphicsBase.getForegroundSystemLayers(), GraphicsBase.getBackgroundSystemLayers(),` GraphicsBase.getForegroundSystemLayer(Class), GraphicsBase.getBackgroundSystemLayer(Class)``

Type parameters

  • R: Row

    the type of the rows

Hierarchy

Index

Constructors

constructor

Methods

drawLayer

  • drawLayer(drawingEngine: RowDrawingEngine<R>, startTime: number, endTime: number): void
  • Parameters

    • drawingEngine: RowDrawingEngine<R>
    • startTime: number
    • endTime: number

    Returns void

getGraphics

getLineStroke1

  • getLineStroke1(): Color
  • Returns Color

getLineStroke2

  • getLineStroke2(): Color
  • Returns Color

getLineStroke3

  • getLineStroke3(): Color
  • Returns Color

getLineWidth1

  • getLineWidth1(): number
  • Returns number

getLineWidth2

  • getLineWidth2(): number
  • Returns number

getLineWidth3

  • getLineWidth3(): number
  • Returns number

getName

  • getName(): string
  • Returns string

getOpacity

  • getOpacity(): number
  • Returns number

isSnapToPixel

  • isSnapToPixel(): boolean

isVisible

  • isVisible(): boolean
  • Returns boolean

setLineStroke1

  • setLineStroke1(value: Color): void
  • Parameters

    Returns void

setLineStroke2

  • setLineStroke2(value: Color): void
  • Parameters

    Returns void

setLineStroke3

  • setLineStroke3(value: Color): void
  • Parameters

    Returns void

setLineWidth1

  • setLineWidth1(value: number): void
  • Parameters

    • value: number

    Returns void

setLineWidth2

  • setLineWidth2(value: number): void
  • Parameters

    • value: number

    Returns void

setLineWidth3

  • setLineWidth3(value: number): void
  • Parameters

    • value: number

    Returns void

setName

  • setName(value: string): void
  • Parameters

    • value: string

    Returns void

setOpacity

  • setOpacity(value: number): void
  • Parameters

    • value: number

    Returns void

setSnapToPixel

  • setSnapToPixel(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setVisible

  • setVisible(value: boolean): void
  • Parameters

    • value: boolean

    Returns void