
## PatternFill class

Encapsulates the object that represents pattern fill format

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Pattern](#pattern) | Number | Gets or sets the fill pattern type The value of the property is FillPattern integer constant. |
| [BackgroundColor](#backgroundcolor) | Color | Gets or sets the background com.aspose.cells.Color of the Area . |
| [BackgroundCellsColor](#backgroundcellscolor) | CellsColor | Gets and sets the foreground CellsColor object. |
| [ForegroundColor](#foregroundcolor) | Color | Gets or sets the foreground com.aspose.cells.Color . |
| [ForegroundCellsColor](#foregroundcellscolor) | CellsColor | Gets and sets the foreground CellsColor object. |
| [ForeTransparency](#foretransparency) | Number | Gets or sets the transparency of foreground color. |
| [BackTransparency](#backtransparency) | Number | Gets or sets the transparency of background color. |

## Methods

| Name | Description |
| --- | --- |
| [equals](#equals) | / |
| [hashCode](#hashcode) | Gets the hash code. |

### PatternFill.Pattern property {#pattern}

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

**Type:** Number

### PatternFill.BackgroundColor property {#backgroundcolor}

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

**Type:** Color

### PatternFill.BackgroundCellsColor property {#backgroundcellscolor}

Gets and sets the foreground CellsColor object.

**Type:** CellsColor

### PatternFill.ForegroundColor property {#foregroundcolor}

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

**Type:** Color

### PatternFill.ForegroundCellsColor property {#foregroundcellscolor}

Gets and sets the foreground CellsColor object.

**Type:** CellsColor

### PatternFill.ForeTransparency property {#foretransparency}

Gets or sets the transparency of foreground color.

**Type:** Number

### PatternFill.BackTransparency property {#backtransparency}

Gets or sets the transparency of background color.

**Type:** Number

### equals(obj) {#equals}

/

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

### hashCode() {#hashcode}

Gets the hash code.
