LstarRange class

Represents a range of L* values that produce the same APCA Y value.

Since APCA contrast is computed from apcaY (not L*), any L* in this range achieves the same contrast. Use closestTo to pick the least disruptive option.

Constructors

LstarRange({required double darkest, required double lightest})
const
LstarRange.single(double value)
const

Properties

darkest → double
final
hashCode → int
The hash code for this object.
no setterinherited
isDegenerate → bool
no setter
lightest → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

closestTo(double target) → double
Returns the L* in this range closest to target in L* space.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited