
## SetColor class

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

The SetColor type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|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
| Name | Description |
| :- | :- |
|index|None|
|r|Gets red component of color|
|g|Gets green component of color|
|b|Gets red component of color|
|c|Gets cyan component of CMYK color.|
|m|Gets magenta component of CMYK color.|
|y|Gets yellow component of CMYK color.|
|k|Gets black component of CMYK color.|
|grey|Gets black component of gray color.|
|color|Gets array of color components.|
## Methods
| Name | Description |
| :- | :- |
|accept(visitor)|Accepts visitor object to process operator.|
|is_text_show_operator(op)|None|
|get_color()|Returns color specified by the operator.|

### See Also

* namespace [aspose.pdf.operators](/pdf/python-net/aspose.pdf.operators/)
* assembly [Aspose.PDF](/pdf/python-net/)

