public static interface ComponentIntensityRange.Builder
ComponentIntensityRange.
Obtain an instance via ComponentIntensityRange.builder() or
ComponentIntensityRange.copyBuilder().
| Modifier and Type | Method and Description |
|---|---|
ComponentIntensityRange |
build()
Builds and returns the
ComponentIntensityRange. |
ComponentIntensityRange.Builder |
maximum(long max)
Sets the maximum intensity (white point) for this component.
|
ComponentIntensityRange.Builder |
minimum(long min)
Sets the minimum intensity (black point) for this component.
|
ComponentIntensityRange.Builder |
range(long min,
long max)
Convenience method to set both minimum and maximum in one call.
|
ComponentIntensityRange.Builder minimum(long min)
min - intensity value at or below which pixels display as blackComponentIntensityRange.Builder maximum(long max)
Use Long.MAX_VALUE to indicate "use the full camera bit-depth range."
max - intensity value at or above which pixels display at full brightnessComponentIntensityRange.Builder range(long min, long max)
min - intensity value at or below which pixels display as blackmax - intensity value at or above which pixels display at full brightnessComponentIntensityRange build()
ComponentIntensityRange.ComponentIntensityRange