PdfColorGrey class Null safety

Inheritance

Constructors

PdfColorGrey(double color, [double alpha = 1.0])
Create a grey color
const

Properties

alpha double
Opacity
final, inherited
analagous List<PdfColor>
Returns a list of analagous colors
read-only, inherited
blue double
Blue component
final, inherited
complementary PdfColor
Get a complementary color with hue shifted by -120°
read-only, inherited
green double
Green component
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
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<PdfColor>
Get some similar colors
read-only, inherited
red double
Red component
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
splitcomplementary List<PdfColor>
Returns a list of complementary colors
read-only, inherited
tetradic List<PdfColor>
Returns a list of tetradic colors
read-only, inherited
triadic List<PdfColor>
Returns a list of triadic colors
read-only, inherited

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
inherited
toInt() int
Get the int32 representation of this color
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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