Color class

Constructors

Color.new(double r, double g, double b)

Properties

b double
getter/setter pair
g double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
r double
getter/setter pair
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
toDecimal() int
toHex() String
toNormalizedVector() Vector3d
toString() String
A string representation of this object.
override
toVector255() Vector3d

Operators

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

Static Methods

fromDecimal(int decimal) Color
fromHex(String hex) Color
fromNormalizedVector(Vector3d vector) Color
fromVector255(Vector3d vector) Color