BileRule class final
The "disliked colour" rule (research §5.4, MCU DislikeAnalyzer): hues in
loTenths, hiTenths with chroma above minChroma and lightness below
maxL read as bile / olive and are rotated to lowTarget (hues below
the band's middle) or highTarget.
Constructors
Properties
- accessibleLightAccentBand → IntRange?
-
Accessible light themes: accent hues inside this band (tenths) move
to its nearer edge ± 5° before the dark clamp; null = off.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highTarget → int
-
final
- hiTenths → int
-
final
- loTenths → int
-
final
- lowTarget → int
-
final
- maxL → double
-
final
- minChroma → double
-
final
- recheckFinal → bool
-
Re-apply the rule to final faces after label repair moved them.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(
int hueTenths, double l, double c) → int -
hueTenthsrotated out of the band when (l, c) is disliked. -
dislikes(
int hueTenths, double l, double c) → bool - Whether (l, c, hue) is disliked.
-
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
Constants
- v1 → const BileRule
- Engine v1: 88–110°, L < 0.70, rotated just outside the band.
- v2 → const BileRule
-
Engine v2: 75–115°, L < 0.72, rotated ≥ 20° clear (55° / 135°),
re-checked on the final colours after every lightness repair; under
the Accessible lock in light themes operator and
=hues leave 50–120° before their lightness is clamped dark (a dark yellow is brown).