**Inheritance:**
java.lang.Object, com.aspose.pdf.Operator com.aspose.pdf.operators.SetColorOperator com.aspose.pdf.operators.BasicSetColorOperator, com.aspose.pdf.Operator, com.aspose.pdf.operators.SetColorOperator com.aspose.pdf.operators.BasicSetColorOperator, com.aspose.pdf.operators.SetColorOperator, com.aspose.pdf.operators.BasicSetColorOperator

```
public abstract class BasicSetColorOperator extends SetColorOperator
```

Base class for set color operators.

## Methods

| Method | Description |
| --- | --- |
| [getB](#getB--) | Gets red component of color |
| [getC](#getC--) | Gets cyan component of CMYK color. |
| [getColorArray](#getColorArray--) | Gets array of color components. |
| [getG](#getG--) | Gets green component of color |
| [getGray](#getGray--) | Gets black component of gray color. |
| [getK](#getK--) | Gets black component of CMYK color. |
| [getM](#getM--) | Gets magenta component of CMYK color. |
| [getR](#getR--) | Gets red component of color |
| [getY](#getY--) | Gets yellow component of CMYK color. |

### getB {#getB--}
```
public double getB()
```

Gets red component of color

**Returns:**
double value

### getC {#getC--}
```
public double getC()
```

Gets cyan component of CMYK color.

**Returns:**
double value

### getColorArray {#getColorArray--}
```
public double[] getColorArray()
```

Gets array of color components.

**Returns:**
double array

### getG {#getG--}
```
public double getG()
```

Gets green component of color

**Returns:**
double value

### getGray {#getGray--}
```
public double getGray()
```

Gets black component of gray color.

**Returns:**
double value

### getK {#getK--}
```
public double getK()
```

Gets black component of CMYK color.

**Returns:**
double value

### getM {#getM--}
```
public double getM()
```

Gets magenta component of CMYK color.

**Returns:**
double value

### getR {#getR--}
```
public double getR()
```

Gets red component of color

**Returns:**
double value

### getY {#getY--}
```
public double getY()
```

Gets yellow component of CMYK color.

**Returns:**
double value
