of

fun of(): BrightnessTooLowValidator

Create instance with min brightness threshold value 0.25.

Return

Instance.


fun of(threshold: Double): BrightnessTooLowValidator

Create instance with specified min brightness threshold.

Return

Instance.

Parameters

threshold

Value in interval [0.0, 1.0].

Throws

If value is out of the interval.