Color class

Color, 4 components, R8G8B8A8 (32bit).

Constructors

Color(int r, int g, int b, int a)
Color, 4 components, R8G8B8A8 (32bit).
Color.fromRef(Color ref)
Construct Color from native reference.

Properties

a int
Color alpha value.
getter/setter pair
b int
Color blue value.
getter/setter pair
g int
Color green value.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pointer Pointer<Color>?
Native pointer, used internally.
final
r int
Color red value.
getter/setter pair
ref ↔ Color
Native reference.
latefinalinherited
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

Static Properties

beige Color
Beige.
final
black Color
Black.
final
blank Color
Blank.
final
blue Color
Blue.
final
brown Color
Brown.
final
darkBlue Color
Dark blue.
final
darkBrown Color
Dark brown.
final
darkGray Color
Dark gray.
final
darkGreen Color
Dark green.
final
darkPurple Color
Dark purple.
final
gold Color
Gold.
final
gray Color
Gray.
final
green Color
Green.
final
lightGray Color
Light gray.
final
lime Color
Lime.
final
magenta Color
Magenta
final
maroon Color
Maroon.
final
orange Color
Gray.
final
pink Color
Pink.
final
purple Color
Purple.
final
rayWhite Color
Ray's white.
final
red Color
Red.
final
skyBlue Color
Sky blue.
final
voilet Color
Voilet.
final
white Color
White.
final
yellow Color
Yellow.
final