HSVColor class

Inheritance

Constructors

HSVColor({double alpha = 1, double hue = 360, double saturation = 1, double value = 1})
const

Properties

alpha double
The alpha value. Must be in range of 0 and 1. If null, an AssertionError is thrown
final
hashCode int
The hash code for this object.
no setterinherited
hue double
The hue value. Must be in range of 0 and 360 If null, an AssertionError is thrown
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saturation double
The saturation value. Must be in range of 0 and 1. If null, an AssertionError is thrown
final
toHex HEXColor
Convert this to a HEX color space
no setterinherited
toHSL HSLColor
Convert this to a HSL color space
no setterinherited
toHSV HSVColor
Convert this to a HSV color space
no setterinherited
toRGB RGBAColor
Convert this to a RGBA color space
no setteroverride
value double
The value value. Must be in range of 0 and 1. If null, an AssertionError is thrown
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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