, then the operator.
Commas separate the arguments below, they are not used in the actual PDF file.
| Non-Text oriented operators |
| arguments | operator | description |
| arguments | b | Close, fill, and stroke path using nonzero winding number rule |
| arguments | B | Fill and stroke path using nonzero winding number rule |
| arguments | b* | Close, fill, and stroke path using even-odd rule |
| arguments | B* | Fill and stroke path using even-odd rule |
| arguments | BI | Begin in-line image |
| arguments | EI | End in-line image |
| x1 y1 x2 y2 x3 y3 | c | Append curved segment to path from current point to x3,y3 using points x1,y1 and x2, y2 as control points. |
| arguments | d | set line dash pattern |
| (none) | f | Fill path using nonzero winding number rule |
| arguments | f* | Fill path using even-odd rule |
| arguments | gs | Set parameters from graphics state parameter dictionary |
| arguments | h | close subpath |
| arguments | j | set line join style |
| arguments | J | set line cap style |
| X, Y | l | append straight line to path |
| X, Y | m | start a new subpath |
| arguments | q | save graphics state (push?) |
| arguments | Q | restore graphics state (pop?) |
| X, Y, Width, Height | re | append rectangle to path |
| (none) | s | close and stroke path |
| (none) | S | stroke path |
| arguments | sh | paint area defined by shading pattern |
| arguments | v | append curved segment to path, replicating initial point |
| real number | w | set line width |
| arguments | W | set clipping path using non-zero winding rule number |
| arguments | W* | set clipping path using even-odd rule |
| arguments | y | append curved segment to path, replicating final point |
| a b c d e f | cm | Modify the current transformation matrix (CTM) by concatenating
the specified matrix (see 8.3.2, "Coordinate Spaces"). Although the
operands specify a matrix, they shall be written as six separate
numbers, not as an array. |
| Text oriented operators (see also Text State Parameters) |
| arguments | operator | description |
| (none) | BT | begin text object |
| (none) | ET | end text object |
| X, Y | Td | move text position |
| X, Y | TD | move text position and set leading |
| name of font, height | Tf | set text font and size |
| A literal string | Tj | show text |
| arguments | T* | move to start of next text line |
| arguments | Tc | set character spacing |
| arguments | TJ | show text allowing individual glyph positioning |
| arguments | TL | set text leading |
| arguments | Tm | set text matrix and text line matrix |
| mode (int) | Tr | set text rendering mode |
| float | Ts | set text rise (superscript or subscript) |
| float | Tw | set word spacing |
| float | Tz | set horizontal text spacing |
| string | ' | move to next line and show text (functions the same as T* string Tj) |
| aw ac string | " | set word and character spacing, move to next line, and show text (functions the same as aw Tw ac Tc string ') |
| Color oriented operators |
| arguments | operator | description |
| arguments | CS | Set color space for stroking operations |
| arguments | cs | Set color space for nonstroking operations |
| 0.0 <= x <= 1.0 | G | Set gray level for stroking operations 0.0 = black, 1.0 = white |
| 0.0 <= x <= 1.0 | g | Set gray level for nonstroking operations 0.0 = black, 1.0 = white |
| R, G, B values | RG | set RGB color for stroking operations |
| R, G, B values | rg | set RGB color for non-stroking operations |
| arguments | SC | set color for stroking operations |
| arguments | sc | set color for non-stroking operations |