HueInterpolationMethod enum Value

The method by which two hues are adjusted when interpolating between colors.

Used by InterpolationMethod.

Inheritance
Available extensions

Values

shorter → const HueInterpolationMethod

Angles are adjusted so that θ₂ - θ₁ ∈ [-180, 180].

https://www.w3.org/TR/css-color-4/#shorter

longer → const HueInterpolationMethod

Angles are adjusted so that θ₂ - θ₁ ∈ {0, [180, 360)}.

https://www.w3.org/TR/css-color-4/#hue-longer

increasing → const HueInterpolationMethod

Angles are adjusted so that θ₂ - θ₁ ∈ [0, 360).

https://www.w3.org/TR/css-color-4/#hue-increasing

decreasing → const HueInterpolationMethod

Angles are adjusted so that θ₂ - θ₁ ∈ (-360, 0].

https://www.w3.org/TR/css-color-4/#hue-decreasing

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<HueInterpolationMethod>
A constant List of the values in this enum, in order of their declaration.