ColorImageStyle enum
The color corresponds to the style of the image.
Constructors
- ColorImageStyle(double kl, double k1, double k2)
-
enum initialization
const
Values
- graphicArt → const ColorImageStyle
-
graphic art
ColorImageStyle(1, 0.045, 0.015)
- texturesAndTextiles → const ColorImageStyle
-
textures, textiles.
ColorImageStyle(2, 0.048, 0.014)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- k1 → double
-
A constant that adjusts for the nonlinearity of the Lab* color space.
The Lab color space has different perception of color difference in different regions, so it needs to be adjusted to improve its accuracy. This is what k1 does。
It applies a larger adjustment in the lower luminance value region of the Lab* color space to better match the perception of the human visual system.
final
- k2 → double
-
A constant that adjusts for the nonlinearity of the Lab* color space.
The role of k2 is to apply a larger adjustment in the more saturated color regions on the ab* plane to better match the perception of the human visual system.
final
- kl → double
-
Lightness factor, the value range is 0 to 1.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
values
→ const List<
ColorImageStyle> -
A constant List of the values in this enum, in order of their declaration.
[graphicArt, texturesAndTextiles]