Patterns
PDF Patterns
PDF patterns (ISO 32000-1:2008, §8.7) define repeating graphical forms used as fill colors for shapes and text. There are two pattern types: tiling patterns that repeat a graphical cell, and shading patterns that define smooth color gradients.
PdfPattern represents a pattern resource in the PDF object model. Patterns are
defined in the page or document resource dictionary and referenced from content
stream operators.
Tiling Patterns
A tiling pattern defines a graphical cell that repeats at a fixed interval across the coordinate space. The cell is defined by a content stream inside the pattern dictionary.
Shading Patterns
A shading pattern applies a smooth color fill defined by a shading dictionary, supporting axial, radial, and free-form mesh shadings.