y property
double
y
Y position in color gamut.
Range: 0 - 1
Throws UnitIntervalException if y
is set to something outside of the
range 0 to 1 (inclusive).
Implementation
double get y => _y;
Implementation
set y(double y) {
if (Validators.isUnitInterval(y)) {
_y = y;
} else {
throw UnitIntervalException.withValue(y);
}
}