SetColor

SetColor class

Represents class for sc operator (set color for non-stroking operations).

The SetColor type exposes the following members:

Constructors

NameDescription
SetColor()Initializes operator.
SetColor(g)Initializes a new instance of the SetColor class
SetColor(r, g, b)Initializes a new instance of the SetColor class
SetColor(c, m, y, k)Initializes a new instance of the SetColor class
SetColor(color)Initializes a new instance of the SetColor class

Properties

NameDescription
indexNone
rGets red component of color
gGets green component of color
bGets red component of color
cGets cyan component of CMYK color.
mGets magenta component of CMYK color.
yGets yellow component of CMYK color.
kGets black component of CMYK color.
greyGets black component of gray color.
colorGets array of color components.

Methods

NameDescription
accept(visitor)Accepts visitor object to process operator.
is_text_show_operator(op)None
get_color()Returns color specified by the operator.

See Also