PdfColorHsv class Null safety

Same as HSB, Cylindrical geometries with hue, their angular dimension, starting at the red primary at 0°, passing through the green primary at 120° and the blue primary at 240°, and then wrapping back to red at 360°

Inheritance

Constructors

PdfColorHsv(double hue, double saturation, double value, [double alpha = 1.0])
Creates an HSV color
factory
PdfColorHsv.fromRgb(double red, double green, double blue, [double alpha = 1.0])
Creates an HSV color from red, green, blue components
factory

Properties

alpha double
Opacity
final, inherited
analagous List<PdfColorHsv>
Returns a list of analagous colors
read-only, override
blue double
Blue component
final, inherited
complementary PdfColorHsv
Get a complementary color with hue shifted by -120°
read-only, override
green double
Green component
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
hue double
Angular position the colorspace coordinate diagram in degrees from 0° to 360°
final
isDark bool
Determines whether the given PdfColor is dark.
read-only, inherited
isLight bool
Determines whether the given PdfColor is light.
read-only, inherited
luminance double
Get the luminance
read-only, inherited
monochromatic List<PdfColorHsv>
Get a similar color
read-only, override
red double
Red component
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
saturation double
Saturation of the color
final
splitcomplementary List<PdfColorHsv>
Get two complementary colors with hue shifted by -120°
read-only, override
tetradic List<PdfColorHsv>
Returns a list of tetradic colors
read-only, override
triadic List<PdfColorHsv>
Returns a list of triadic colors
read-only, override
value double
Brightness
final

Methods

flatten({PdfColor background = const PdfColor(1, 1, 1)}) PdfColor
Apply the color transparency by updating the color values according to a background color.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
shade(double strength) PdfColor
Build a Material Color shade using the given strength. [...]
inherited
toCmyk() PdfColorCmyk
Convert this color to CMYK
inherited
toHex() String
Get an Hexadecimal representation of this color
inherited
toHsl() PdfColorHsl
Convert this color to HSL
inherited
toHsv() PdfColorHsv
Convert this color to HSV
override
toInt() int
Get the int32 representation of this color
inherited
toString() String
A string representation of this object. [...]
override

Operators

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