**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.objects.brush.OdBrush](../../com.aspose.imaging.fileformats.opendocument.objects.brush/odbrush)
```
public class OdPatternBrush extends OdBrush
```

The open document pattern brush
## Constructors

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

| Method | Description |
| --- | --- |
| [getPattern()](#getPattern--) | Gets the pattern. |
| [setPattern(byte[] value)](#setPattern-byte---) | Sets the pattern. |
| [getBrushStyle()](#getBrushStyle--) | Gets the style. |
| [deepClone()](#deepClone--) | Clone this instance. |
### OdPatternBrush() {#OdPatternBrush--}
```
public OdPatternBrush()
```


### getPattern() {#getPattern--}
```
public final byte[] getPattern()
```


Gets the pattern.

**Returns:**
byte[] - the pattern.
### setPattern(byte[] value) {#setPattern-byte---}
```
public final void setPattern(byte[] value)
```


Sets the pattern.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | the pattern. |

### getBrushStyle() {#getBrushStyle--}
```
public int getBrushStyle()
```


Gets the style.

**Returns:**
int - the style.
### deepClone() {#deepClone--}
```
public Object deepClone()
```


Clone this instance.

**Returns:**
java.lang.Object - The return new instance of source brush
