• Preparing search index...
  • The search index is not available
@xeokit/sdk - v0.1.0
  • @xeokit/sdk
  • presentations
  • volumeOverlay
  • colormapToCssGradient

Function colormapToCssGradient

  • colormapToCssGradient(stops: ColormapStops): string

    Build a CSS linear-gradient(...) string from a colormap. Useful for legend bars in the panel UI.

    Parameters

    • stops: ColormapStops

    Returns string

    • Defined in packages/sdk/src/presentations/volumeOverlay/colormaps.ts:140

Settings

Member Visibility
@xeokit/sdk - v0.1.0
  • Loading...

Generated using TypeDoc