PdfColor class final

An ARGB colour value as extracted from a PDF annotation.

Component values range from 0 to 255.

Constructors

PdfColor({required int r, required int g, required int b, required int a})
Creates a PdfColor from its RGBA components.
const

Properties

a int
Alpha (opacity) component, 0–255 where 255 is fully opaque.
final
b int
Blue component, 0–255.
final
g int
Green component, 0–255.
final
hashCode int
The hash code for this object.
no setteroverride
r int
Red component, 0–255.
final
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.
override

Operators

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