HslColor class

Inheritance
Implemented types

Constructors

HslColor(num h, num s, num l)
Creates a HslColor using a vector describing its hue, saturation, and luminance.
const

Properties

h num
final
hashCode int
The hash code for this object.
no setterinherited
l num
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
s num
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCielabColor() CielabColor
override
toCssString() String
override
toHexColor() HexColor
inherited
toHslColor() HslColor
override
toHsvColor() HsvColor
override
toMap() Map<String, num>
override
toRgbColor() RgbColor
override
toString() String
A string representation of this object.
override
toXyzColor() XyzColor
override

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) num
inherited

Constants

hMax → const num
hMin → const num
lMax → const num
lMin → const num
sMax → const num
sMin → const num