Previous Next
288
CHAPTER 4 Graphics
OPERANDS OPERATOR DESCRIPTION
c …c
1 n
SCN (PDF 1.2) Same as SC but also supports Pattern, Separation, DeviceN, and
c … c name SCN ICCBased color spaces.
1 n
If the current stroking color space is a Separation, DeviceN, or ICCBased color
space, the operands c1 … cn are numbers. The number of operands and their in-
terpretation depends on the color space.
If the current stroking color space is a Pattern color space, name is the name of
an entry in the Pattern subdictionary of the current resource dictionary (see
Section 3.7.2, “Resource Dictionaries”). For an uncolored tiling pattern
(PatternType = 1 and PaintType = 2), c1 … cn are component values specifying a
color in the pattern’s underlying color space. For other types of patterns, these
operands must not be specified.
c …c
1 n
sc (PDF 1.1) Same as SC but used for nonstroking operations.
c …c
1 n
scn (PDF 1.2) Same as SCN but used for nonstroking operations.
c … c name scn
1 n
gray G Set the stroking color space to DeviceGray (or the DefaultGray color space; see
“Default Color Spaces” on page 257) and set the gray level to use for stroking op-
erations. gray is a number between 0.0 (black) and 1.0 (white).
gray g Same as G but used for nonstroking operations.
r g b RG Set the stroking color space to DeviceRGB (or the DefaultRGB color space; see
“Default Color Spaces” on page 257) and set the color to use for stroking opera-
tions. Each operand must be a number between 0.0 (minimum intensity) and 1.0
(maximum intensity).
r g b rg Same as RG but used for nonstroking operations.
c m y k K Set the stroking color space to DeviceCMYK (or the DefaultCMYK color space; see
“Default Color Spaces” on page 257) and set the color to use for stroking opera-
tions. Each operand must be a number between 0.0 (zero concentration) and 1.0
(maximum concentration). The behavior of this operator is affected by the over-
print mode (see Section 4.5.6, “Overprint Control”).
c m y k k Same as K but used for nonstroking operations.
Invoking operators that specify colors or other color-related parameters in the
graphics state is restricted in certain circumstances. This restriction occurs when
Previous Next