
## BasicSetColorAndPatternOperator class

Base operator for all Set Color operators.

The BasicSetColorAndPatternOperator type exposes the following members:
## 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.|
|pattern_name|Gets Pattern Name.|
## Methods
| Name | Description |
| :- | :- |
|accept(visitor)|None|
|is_text_show_operator(op)|None|
|get_color()|Retirns color specified by the operator.|

### See Also

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

