
## PatternFill class

Encapsulates the object that represents pattern fill format

## Methods

| Name | Description |
| --- | --- |
| [equals(obj)](#equals) | / |
| [getBackTransparency()](#getbacktransparency) | Gets or sets the transparency of background color. |
| [getBackgroundCellsColor()](#getbackgroundcellscolor) | Gets and sets the foreground CellsColor object. |
| [getBackgroundColor()](#getbackgroundcolor) | Gets or sets the background com.aspose.cells.Color of the Area. |
| [getForeTransparency()](#getforetransparency) | Gets or sets the transparency of foreground color. |
| [getForegroundCellsColor()](#getforegroundcellscolor) | Gets and sets the foreground CellsColor object. |
| [getForegroundColor()](#getforegroundcolor) | Gets or sets the foreground com.aspose.cells.Color. |
| [getPattern()](#getpattern) | Gets or sets the fill pattern type The value of the property is FillPattern integer constant. |
| [hashCode()](#hashcode) | Gets the hash code. |
| [setBackTransparency()](#setbacktransparency) | Gets or sets the transparency of background color. |
| [setBackgroundCellsColor()](#setbackgroundcellscolor) | Gets and sets the foreground CellsColor object. |
| [setBackgroundColor()](#setbackgroundcolor) | Gets or sets the background com.aspose.cells.Color of the Area. |
| [setForeTransparency()](#setforetransparency) | Gets or sets the transparency of foreground color. |
| [setForegroundCellsColor()](#setforegroundcellscolor) | Gets and sets the foreground CellsColor object. |
| [setForegroundColor()](#setforegroundcolor) | Gets or sets the foreground com.aspose.cells.Color. |
| [setPattern()](#setpattern) | Gets or sets the fill pattern type The value of the property is FillPattern integer constant. |

### equals(obj) {#equals}

/

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object |  |

**Returns:** boolean — `boolean`

### getBackTransparency() {#getbacktransparency}

Gets or sets the transparency of background color.

### getBackgroundCellsColor() {#getbackgroundcellscolor}

Gets and sets the foreground CellsColor object.

### getBackgroundColor() {#getbackgroundcolor}

Gets or sets the background com.aspose.cells.Color of the Area.

### getForeTransparency() {#getforetransparency}

Gets or sets the transparency of foreground color.

### getForegroundCellsColor() {#getforegroundcellscolor}

Gets and sets the foreground CellsColor object.

### getForegroundColor() {#getforegroundcolor}

Gets or sets the foreground com.aspose.cells.Color.

### getPattern() {#getpattern}

Gets or sets the fill pattern type The value of the property is FillPattern integer constant.

### hashCode() {#hashcode}

Gets the hash code.

**Returns:** Number — `Number`

### setBackTransparency() {#setbacktransparency}

Gets or sets the transparency of background color.

### setBackgroundCellsColor() {#setbackgroundcellscolor}

Gets and sets the foreground CellsColor object.

### setBackgroundColor() {#setbackgroundcolor}

Gets or sets the background com.aspose.cells.Color of the Area.

### setForeTransparency() {#setforetransparency}

Gets or sets the transparency of foreground color.

### setForegroundCellsColor() {#setforegroundcellscolor}

Gets and sets the foreground CellsColor object.

### setForegroundColor() {#setforegroundcolor}

Gets or sets the foreground com.aspose.cells.Color.

### setPattern() {#setpattern}

Gets or sets the fill pattern type The value of the property is FillPattern integer constant.
