Key |
Type |
Value |
---|---|---|
Type |
name |
(Optional) The type of PDF object that this dictionary describes; if present, shall be Pattern for a pattern dictionary. |
PatternType |
integer |
(Required) A code identifying the type of pattern that this dictionary describes; shall be 2 for a shading pattern. |
Shading |
dictionary or stream |
(Required) A shading object (see below) defining the shading pattern’s gradient fill. The contents of the dictionary shall consist of the entries in Table 78 and those in one of Tables 79 to 84 . |
Matrix |
array |
(Optional) An array of six numbers specifying the pattern matrix (see 8.7.2, "General Properties of Patterns" ). Default value: the identity matrix [ 1 0 0 1 0 0 ]. |
ExtGState |
dictionary |
(Optional) A graphics state parameter dictionary (see 8.4.5, "Graphics State Parameter Dictionaries" ) containing graphics state parameters to be put into effect temporarily while the shading pattern is painted. Any parameters that are so specified shall be inherited from the graphics state that was in effect at the beginning of the content stream in which the pattern is defined as a resource. |