WBColor class

The whiteboard color class.

白板颜色类。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

WBColor({double? red = 0.0, double? green = 0.0, double? blue = 0.0, double? alpha = 1.0})
Constructs a WBColor

Properties

alpha double?
The alpha component, valid value ranges between 0.0 and 1.0. Default: 1.0.
getter/setter pair
blue double?
The blue component, valid value ranges between 0.0 and 1.0. Default: 0.0.
getter/setter pair
green double?
The green component, valid value ranges between 0.0 and 1.0. Default: 0.0.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
red double?
The red component, valid value ranges between 0.0 and 1.0. Default: 0.0.
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
toString() String
A string representation of this object.
inherited

Operators

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