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})
const
factory
UvColor.indexed256(int index)
const
factory
UvColor.rgb(int r, int g, int b, {int a})
const
factory

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