PdfFunction class abstract
A PDF function (§7.10), one input except where shadings need more.
All four types are supported: 0 (sampled, with linear interpolation), 2 (exponential), 3 (stitching), and 4 (PostScript calculator).
Constructors
- PdfFunction()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
evaluate(
double x) → List< double> -
evaluateAt(
List< double> inputs) → List<double> - Multi-input evaluation, for function-based (type 1) shadings whose functions map (x, y) and for multi-colorant DeviceN/Separation tint transforms. Sampled (type 0) and calculator (type 4) functions genuinely consume more than one input; the others fall back to the first.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
CosDocument cos, CosObject? object) → PdfFunction?