Skip to content

modern-pdf-lib


modern-pdf-lib / setFlatness

Function: setFlatness()

setFlatness(flatness): string

Defined in: src/core/operators/graphics.ts:261

Set the flatness tolerance (i).

Parameters

flatness

number

Maximum distance in device pixels between the mathematical path and the rendered approximation.

Returns

string

Released under the MIT License.