GamutMapMethod class abstract base

Different algorithms that can be used to map an out-of-gamut Sass color into the gamut for its color space.

Annotations
  • @sealed

Constructors

GamutMapMethod.fromName(String name, [String? argumentName])
Parses a GamutMapMethod from its Sass name.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The Sass name of the gamut-mapping algorithm.
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

clip → const GamutMapMethod
Clamp each color channel that's outside the gamut to the minimum or maximum value for that channel.
localMinde → const GamutMapMethod
The algorithm specified in the original Color Level 4 candidate recommendation.