Blend class Null safety
Functions for blending in HCT and CAM16.
Constructors
- Blend()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
cam16Ucs(
int from, int to, double amount) → int - Blend in CAM16-UCS space.
-
harmonize(
int designColor, int sourceColor) → int - Blend the design color's HCT hue towards the key color's HCT hue, in a way that leaves the original color recognizable and recognizably shifted towards the key color.
-
hctHue(
int from, int to, double amount) → int - Blends hue from one color into another. The chroma and tone of the original color are maintained.