UvColor class sealed
Color representation sufficient for Ultraviolet parity tests.
Upstream: third_party/ultraviolet/cell.go stores color.Color values and
uses x/ansi helpers for named/indexed colors.
Unified UV color representation across palettes and true color.
Use UvBasic16 for 16-color palette, UvIndexed256 for 256-color indexed palette, and UvRgb for 24-bit RGB.
- Implementers
Constructors
- UvColor.basic16(int index, {bool bright})
-
constfactory
- UvColor.indexed256(int index)
-
constfactory
- UvColor.rgb(int r, int g, int b, {int a})
-
constfactory
Properties
- hashCode → int
-
The hash code for this object.
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