**Inheritance:**
java.lang.Object
```
public class RemoveBackgroundSettings
```

The remove background settings
## Constructors

| Constructor | Description |
| --- | --- |
| [RemoveBackgroundSettings()](#RemoveBackgroundSettings--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getDetectionLevel()](#getDetectionLevel--) | Gets the detection level. |
| [setDetectionLevel(Integer value)](#setDetectionLevel-java.lang.Integer-) | Sets the detection level. |
| [getBounds()](#getBounds--) | Gets the bounds. |
| [setBounds(RectangleF value)](#setBounds-com.aspose.imaging.RectangleF-) | Sets the bounds. |
| [getColor1()](#getColor1--) | Gets the color. |
| [setColor1(Color value)](#setColor1-com.aspose.imaging.Color-) | Sets the color. |
| [getColor2()](#getColor2--) | Gets the color2. |
| [setColor2(Color value)](#setColor2-com.aspose.imaging.Color-) | Sets the color2. |
### RemoveBackgroundSettings() {#RemoveBackgroundSettings--}
```
public RemoveBackgroundSettings()
```


### getDetectionLevel() {#getDetectionLevel--}
```
public final Integer getDetectionLevel()
```


Gets the detection level.

Value: The detection level.

**Returns:**
java.lang.Integer - the detection level.
### setDetectionLevel(Integer value) {#setDetectionLevel-java.lang.Integer-}
```
public final void setDetectionLevel(Integer value)
```


Sets the detection level.

Value: The detection level.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.Integer | the detection level. |

### getBounds() {#getBounds--}
```
public final RectangleF getBounds()
```


Gets the bounds.

Value: The bounds.

**Returns:**
[RectangleF](../../com.aspose.imaging/rectanglef) - the bounds.
### setBounds(RectangleF value) {#setBounds-com.aspose.imaging.RectangleF-}
```
public final void setBounds(RectangleF value)
```


Sets the bounds.

Value: The bounds.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [RectangleF](../../com.aspose.imaging/rectanglef) | the bounds. |

### getColor1() {#getColor1--}
```
public final Color getColor1()
```


Gets the color.

Value: The color.

**Returns:**
[Color](../../com.aspose.imaging/color) - the color.
### setColor1(Color value) {#setColor1-com.aspose.imaging.Color-}
```
public final void setColor1(Color value)
```


Sets the color.

Value: The color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.imaging/color) | the color. |

### getColor2() {#getColor2--}
```
public final Color getColor2()
```


Gets the color2.

Value: The color2.

**Returns:**
[Color](../../com.aspose.imaging/color) - the color2.
### setColor2(Color value) {#setColor2-com.aspose.imaging.Color-}
```
public final void setColor2(Color value)
```


Sets the color2.

Value: The color2.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.imaging/color) | the color2. |

