PdfFunction class Null safety

Implemented types

Constructors

PdfFunction(PdfDocument pdfDocument, {List<int>? data, int bitsPerSample = 8, int order = 1, List<num> domain = const <num>[0, 1], List<num> range = const <num>[0, 1]})
PdfFunction.fromColors(PdfDocument pdfDocument, List<PdfColor?> colors)
factory

Properties

bitsPerSample int
final
buf → PdfStream
This holds the stream's content.
final, inherited
data List<int>?
final
domain List<num>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isBinary bool
defines if the stream needs to be converted to ascii85
final, inherited
objgen int
This is the generation number for this object.
final, inherited
objser int
This is the unique serial number for this object.
final, inherited
order int
final
params → PdfDict<PdfDataType>
This is the object parameters.
final, inherited
pdfDocument PdfDocument
This allows any Pdf object to refer to the document being constructed.
final, inherited
range List<num>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
prepare() → void
Prepare the object to be written to the stream
ref() → PdfIndirect
Returns the unique serial number in Pdf format
inherited
toString() String
A string representation of this object. [...]
write(PdfStream os) → void
Writes the object to the output stream.
inherited
writeContent(PdfStream os) → void
inherited

Operators

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