
**Inheritance:**
java.lang.Object, [com.aspose.cells.Fill](../../com.aspose.cells/fill)
```
public class PatternFill extends Fill
```

Encapsulates the object that represents pattern fill format
## Methods

| Method | Description |
| --- | --- |
| [equals(Object obj)](#equals-java.lang.Object-) | / |
| [getBackTransparency()](#getBackTransparency--) | Gets the transparency of background color. |
| [getBackgroundCellsColor()](#getBackgroundCellsColor--) | Gets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object. |
| [getBackgroundColor()](#getBackgroundColor--) | Gets the background [Color](../../com.aspose.cells/color) of the [Area](../../com.aspose.cells/area). |
| [getClass()](#getClass--) |  |
| [getForeTransparency()](#getForeTransparency--) | Gets the transparency of foreground color. |
| [getForegroundCellsColor()](#getForegroundCellsColor--) | Gets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object. |
| [getForegroundColor()](#getForegroundColor--) | Gets the foreground [Color](../../com.aspose.cells/color). |
| [getPattern()](#getPattern--) | Gets the fill pattern type |
| [hashCode()](#hashCode--) | Gets the hash code. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setBackTransparency(double value)](#setBackTransparency-double-) | Sets the transparency of background color. |
| [setBackgroundCellsColor(CellsColor value)](#setBackgroundCellsColor-com.aspose.cells.CellsColor-) | Sets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object. |
| [setBackgroundColor(Color value)](#setBackgroundColor-com.aspose.cells.Color-) | Sets the background [Color](../../com.aspose.cells/color) of the [Area](../../com.aspose.cells/area). |
| [setForeTransparency(double value)](#setForeTransparency-double-) | Sets the transparency of foreground color. |
| [setForegroundCellsColor(CellsColor value)](#setForegroundCellsColor-com.aspose.cells.CellsColor-) | Sets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object. |
| [setForegroundColor(Color value)](#setForegroundColor-com.aspose.cells.Color-) | Sets the foreground [Color](../../com.aspose.cells/color). |
| [setPattern(int value)](#setPattern-int-) | Sets the fill pattern type |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```


/

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | java.lang.Object |  |

**Returns:**
boolean - 
### getBackTransparency() {#getBackTransparency--}
```
public double getBackTransparency()
```


Gets the transparency of background color.

**Returns:**
double
### getBackgroundCellsColor() {#getBackgroundCellsColor--}
```
public CellsColor getBackgroundCellsColor()
```


Gets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object.

**Returns:**
[CellsColor](../../com.aspose.cells/cellscolor)
### getBackgroundColor() {#getBackgroundColor--}
```
public Color getBackgroundColor()
```


Gets the background [Color](../../com.aspose.cells/color) of the [Area](../../com.aspose.cells/area).

**Returns:**
[Color](../../com.aspose.cells/color)
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getForeTransparency() {#getForeTransparency--}
```
public double getForeTransparency()
```


Gets the transparency of foreground color.

**Returns:**
double
### getForegroundCellsColor() {#getForegroundCellsColor--}
```
public CellsColor getForegroundCellsColor()
```


Gets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object.

**Returns:**
[CellsColor](../../com.aspose.cells/cellscolor)
### getForegroundColor() {#getForegroundColor--}
```
public Color getForegroundColor()
```


Gets the foreground [Color](../../com.aspose.cells/color).

**Returns:**
[Color](../../com.aspose.cells/color)
### getPattern() {#getPattern--}
```
public int getPattern()
```


Gets the fill pattern type

See [FillPattern](../../com.aspose.cells/fillpattern).

**Returns:**
int
### hashCode() {#hashCode--}
```
public int hashCode()
```


Gets the hash code.

**Returns:**
int - 
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setBackTransparency(double value) {#setBackTransparency-double-}
```
public void setBackTransparency(double value)
```


Sets the transparency of background color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double |  |

### setBackgroundCellsColor(CellsColor value) {#setBackgroundCellsColor-com.aspose.cells.CellsColor-}
```
public void setBackgroundCellsColor(CellsColor value)
```


Sets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [CellsColor](../../com.aspose.cells/cellscolor) |  |

### setBackgroundColor(Color value) {#setBackgroundColor-com.aspose.cells.Color-}
```
public void setBackgroundColor(Color value)
```


Sets the background [Color](../../com.aspose.cells/color) of the [Area](../../com.aspose.cells/area).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.cells/color) |  |

### setForeTransparency(double value) {#setForeTransparency-double-}
```
public void setForeTransparency(double value)
```


Sets the transparency of foreground color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double |  |

### setForegroundCellsColor(CellsColor value) {#setForegroundCellsColor-com.aspose.cells.CellsColor-}
```
public void setForegroundCellsColor(CellsColor value)
```


Sets the foreground [CellsColor](../../com.aspose.cells/cellscolor) object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [CellsColor](../../com.aspose.cells/cellscolor) |  |

### setForegroundColor(Color value) {#setForegroundColor-com.aspose.cells.Color-}
```
public void setForegroundColor(Color value)
```


Sets the foreground [Color](../../com.aspose.cells/color).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.cells/color) |  |

### setPattern(int value) {#setPattern-int-}
```
public void setPattern(int value)
```


Sets the fill pattern type

See [FillPattern](../../com.aspose.cells/fillpattern).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

