## Uses of Interface
com.orsoncharts.renderer.ColorScale

- Packages that use ColorScale
  Package | Description
  --- | ---
  com.orsoncharts.legend | Classes related to chart legends.
  com.orsoncharts.renderer | Base package for renderer support.
  com.orsoncharts.renderer.xyz | Renderers that can be used with the `XYZPlot` class.

- - ### Uses of ColorScale in com.orsoncharts.legend

    Methods in com.orsoncharts.legend that return ColorScale
    Modifier and Type | Method and Description
    --- | ---
    `ColorScale` | ColorScaleElement.`getColorScale()` Returns the color scale.

    Constructors in com.orsoncharts.legend with parameters of type ColorScale
    Constructor and Description
    `ColorScaleElement(ColorScale scale, Orientation orientation, double barWidth, double barLength, java.awt.Font font, java.awt.Color textColor)` Creates a new `ColorScaleElement` with the specified attributes.

  - ### Uses of ColorScale in com.orsoncharts.renderer

    Classes in com.orsoncharts.renderer that implement ColorScale
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FixedColorScale` A `ColorScale` that returns the same color for every value on the scale.
    `class` | `GradientColorScale` A color scale that runs a linear gradient between two colors.
    `class` | `RainbowScale` A color scale that returns all the colors of the rainbow.

    Methods in com.orsoncharts.renderer that return ColorScale
    Modifier and Type | Method and Description
    --- | ---
    `ColorScale` | ColorScaleRenderer.`getColorScale()` Returns the color scale used by the renderer.

  - ### Uses of ColorScale in com.orsoncharts.renderer.xyz

    Methods in com.orsoncharts.renderer.xyz that return ColorScale
    Modifier and Type | Method and Description
    --- | ---
    `ColorScale` | SurfaceRenderer.`getColorScale()` Returns the color scale.

    Methods in com.orsoncharts.renderer.xyz with parameters of type ColorScale
    Modifier and Type | Method and Description
    --- | ---
    `void` | SurfaceRenderer.`setColorScale(ColorScale colorScale)` Sets the color scale and sends a `Renderer3DChangeEvent` to all registered listeners.