position property

double get position

The position the color will be placed on a color ramp. The value must be in the interval [0.0, 1.0].

The absolute value for the position is calculated using the minimum and maximum values from MinMaxStretchParameters, using the formula: position

  • minValue + (1.0 - position) * maxValue.