modern-pdf-lib / TilingPatternOptions
Interface: TilingPatternOptions
Defined in: src/core/patterns.ts:102
Options for creating a tiling pattern (PatternType 1).
Properties
height
readonlyheight:number
Defined in: src/core/patterns.ts:106
Height of one tile in user-space units.
ops
readonlyops:string
Defined in: src/core/patterns.ts:122
Raw PDF content-stream operators that paint one tile.
paintType?
readonlyoptionalpaintType:1|2
Defined in: src/core/patterns.ts:113
Paint type.
1(default) — coloured: the pattern's content stream specifies its own colours.2— uncoloured: colours are supplied when the pattern is painted.
tilingType?
readonlyoptionaltilingType:1|3|2
Defined in: src/core/patterns.ts:120
Tiling type.
1(default) — constant spacing.2— no distortion.3— constant spacing and faster tiling.
width
readonlywidth:number
Defined in: src/core/patterns.ts:104
Width of one tile in user-space units.