Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • Parameters

    Returns Renderer

Methods

getAlpha

  • getAlpha(): number
  • Returns number

getCurrentFill

  • getCurrentFill(): Color
  • Returns Color

getFill

  • getFill(selected: boolean, hover: boolean, highlighted: boolean, pressed: boolean): Color
  • Parameters

    • selected: boolean
    • hover: boolean
    • highlighted: boolean
    • pressed: boolean

    Returns Color

getFillHighlight

  • getFillHighlight(): Color
  • Returns Color

getFillHover

  • Returns Color

getFillPressed

  • getFillPressed(): Color
  • Returns Color

getFillSelected

  • getFillSelected(): Color
  • Returns Color

getGraphics

  • Returns GraphicsBase

getLocation

  • getLocation(time: number): number
  • Calculates the x coordinate for the given time. This method only returns valid results when the renderers is used in a layout with horizontal orientation. It will not work in AgendaLayout.

    since

    1.0

    see

    TimelineModel.calculateLocationForTime(Instant)

    Parameters

    • time: number

      the time for which to calculate the x coordinate

    Returns number

    the location of the given time point

getName

  • getName(): string
  • Returns string

getPadding

  • Returns Insets

getPixelRatio

  • getPixelRatio(): number
  • Returns number

getTimeAt

  • getTimeAt(location: number): number
  • Calculates the time at the given x coordinate. This method only returns valid results when the renderers is used in a layout with horizontal orientation. It will not work in AgendaLayout.

    since

    1.0

    see

    TimelineModel.calculateTimeForLocation(double)

    Parameters

    • location: number

      the location for which to return the time

    Returns number

    the time at the given x coordinate

isEnabled

  • isEnabled(): boolean
  • Returns boolean

isSnapToPixel

  • isSnapToPixel(): boolean
  • Returns boolean

setAlpha

  • setAlpha(value: number): void
  • Parameters

    • value: number

    Returns void

setEnabled

  • setEnabled(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setFill

  • setFill(value: Color): void
  • Parameters

    Returns void

setFillHighlight

  • setFillHighlight(value: Color): void
  • Parameters

    Returns void

setFillHover

  • setFillHover(value: Color): void
  • Parameters

    Returns void

setFillPressed

  • setFillPressed(value: Color): void
  • Parameters

    Returns void

setFillSelected

  • setFillSelected(value: Color): void
  • Parameters

    Returns void

setPadding

  • setPadding(value: Insets): void
  • Parameters

    Returns void

setSnapToPixel

  • setSnapToPixel(value: boolean): void
  • Parameters

    • value: boolean

    Returns void