StretchRenderer constructor

StretchRenderer({
  1. StretchParameters? stretchParameters,
  2. required List<double> gammas,
  3. required bool estimateStatistics,
  4. ColorRamp? colorRamp,
})

Creates a stretch renderer.

Parameters:

  • stretchParameters — The stretch parameters handle.
  • gammas — Gamma adjustment. A List of double. Can be null.
  • estimateStatistics — Whether to estimate statistics if it does not exist.
  • colorRamp — The color ramp object, can be null.