
## PatternFill class

Encapsulates the object that represents pattern fill format

```javascript
class PatternFill;
```


## Properties

| Property | Type | Description |
| --- | --- | --- |
| [pattern](#pattern--)| FillPattern | Gets or sets the fill pattern type |
| [backgroundColor](#backgroundColor--)| Color | Gets or sets the background [Color](../color/) of the [Area](../area/). |
| [backgroundCellsColor](#backgroundCellsColor--)| CellsColor | Gets and sets the foreground [CellsColor](../cellscolor/) object. |
| [foregroundColor](#foregroundColor--)| Color | Gets or sets the foreground [Color](../color/). |
| [foregroundCellsColor](#foregroundCellsColor--)| CellsColor | Gets and sets the foreground [CellsColor](../cellscolor/) object. |
| [foreTransparency](#foreTransparency--)| number | Gets or sets the transparency of foreground color. |
| [backTransparency](#backTransparency--)| number | Gets or sets the transparency of background color. |


### pattern {#pattern--}

Gets or sets the fill pattern type

```javascript
pattern : FillPattern;
```


### backgroundColor {#backgroundColor--}

Gets or sets the background [Color](../color/) of the [Area](../area/).

```javascript
backgroundColor : Color;
```


### backgroundCellsColor {#backgroundCellsColor--}

Gets and sets the foreground [CellsColor](../cellscolor/) object.

```javascript
backgroundCellsColor : CellsColor;
```


### foregroundColor {#foregroundColor--}

Gets or sets the foreground [Color](../color/).

```javascript
foregroundColor : Color;
```


### foregroundCellsColor {#foregroundCellsColor--}

Gets and sets the foreground [CellsColor](../cellscolor/) object.

```javascript
foregroundCellsColor : CellsColor;
```


### foreTransparency {#foreTransparency--}

Gets or sets the transparency of foreground color.

```javascript
foreTransparency : number;
```


### backTransparency {#backTransparency--}

Gets or sets the transparency of background color.

```javascript
backTransparency : number;
```



