ColorChannel class

Metadata about a single channel in a known color space.

Annotations
  • @sealed

Properties

associatedUnit → String?
The unit that's associated with this channel.
final
hashCode → int
The hash code for this object.
no setterinherited
isPolarAngle → bool
Whether this is a polar angle channel, which represents (in degrees) the angle around a circle.
final
name → String
The channel's name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isAnalogous(ColorChannel other) → bool
Returns whether this channel is analogous to other.
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

alpha → const LinearChannel
The alpha channel that's shared across all colors.