# QRColor Class

> Used to control how the QR color is created.

- Product: Adobe PDF Library 18
- Language: Java
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/QRColor
- Version index: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/llms.txt

```java
class QRColor
```

**Namespace:** `com::datalogics::PDFL`

## Description

Used to control how the QR color is created.

**Referenced by:** [`QREncodeParams`](https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/QREncodeParams.md)

## Constructors

### QRColor

```java
com.datalogics.PDFL.QRColor.QRColor()
```

*constructor*

Create a new QRColor object.

## Methods

### delete

```java
synchronized void com.datalogics.PDFL.QRColor.delete(Boolean disposing)
```

*protected*

**Parameters**

- `disposing` (`Boolean`)

**Returns:** `synchronized void`

### delete

```java
synchronized void com.datalogics.PDFL.QRColor.delete()
```

**Returns:** `synchronized void`

### finalize

```java
void com.datalogics.PDFL.QRColor.finalize()
```

*protected*

**Returns:** `void`

### getBlue

```java
int com.datalogics.PDFL.QRColor.getBlue()
```

**Returns:** `int`

The blue component value.

Gets the blue component of the QR color.

### getGreen

```java
int com.datalogics.PDFL.QRColor.getGreen()
```

**Returns:** `int`

The green component value.

Gets the green component of the QR color.

### getRed

```java
int com.datalogics.PDFL.QRColor.getRed()
```

**Returns:** `int`

The red component value.

Gets the red component of the QR color.

### setBlue

```java
void com.datalogics.PDFL.QRColor.setBlue(int red)
```

**Parameters**

- `red` (`int`): The blue component value to set.

**Returns:** `void`

Sets the blue component of the QR color.

### setGreen

```java
void com.datalogics.PDFL.QRColor.setGreen(int red)
```

**Parameters**

- `red` (`int`): The green component value to set.

**Returns:** `void`

Sets the green component of the QR color.

### setRed

```java
void com.datalogics.PDFL.QRColor.setRed(int red)
```

**Parameters**

- `red` (`int`): The red component value to set.

**Returns:** `void`

Sets the red component of the QR color.
