Hierarchy

  • StiHeatmapHelper

Index

Methods

Static getColorAtOffset

  • getColorAtOffset(colors: Color[], offsets: number[], targetOffset: number): Color
  • Parameters

    • colors: Color[]
    • offsets: number[]
    • targetOffset: number

    Returns Color

Static getColorFromRange

  • getColorFromRange(colors: Color[], min: number, max: number, value: number): Color
  • Parameters

    • colors: Color[]
    • min: number
    • max: number
    • value: number

    Returns Color

Static getLinearGradientPoints

  • getLinearGradientPoints(count: number): number[]
  • Parameters

    • count: number

    Returns number[]

Static interpolate

  • interpolate(start: number, end: number, factor: number): number
  • Parameters

    • start: number
    • end: number
    • factor: number

    Returns number

Generated using TypeDoc