Unsupported

data class Unsupported(val type: Int, val domain: DoubleArray, val range: DoubleArray?, val outputCount: Int) : PdfFunction

Placeholder for function types we don't fully evaluate (Type 0 sampled, Type 4 PostScript calculator). Returns an all-zero output of the right length so callers don't crash; shadings using these degrade to flat black (or to the background color, if any).

Constructors

Link copied to clipboard
constructor(type: Int, domain: DoubleArray, range: DoubleArray?, outputCount: Int)

Properties

Link copied to clipboard
open override val domain: DoubleArray

Input bounds — paired [min0, max0, min1, max1, …].

Link copied to clipboard
open override val outputCount: Int

Number of output components.

Link copied to clipboard
open override val range: DoubleArray?

Optional output bounds; null = unclipped.

Link copied to clipboard
val type: Int

Functions

Link copied to clipboard

Evaluate f(input) → output. The output length is outputCount.