**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
```

开放文档图案画笔
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [OdPatternBrush()](#OdPatternBrush--) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getPattern()](#getPattern--) | 获取模式。 |
| [setPattern(byte[] value)](#setPattern-byte---) | 设置模式。 |
| [getBrushStyle()](#getBrushStyle--) | 获取样式。 |
| [deepClone()](#deepClone--) | 克隆此实例。 |
### OdPatternBrush() {#OdPatternBrush--}
```
public OdPatternBrush()
```


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


获取模式。

**Returns:**
byte[] - 模式。
### setPattern(byte[] value) {#setPattern-byte---}
```
public final void setPattern(byte[] value)
```


设置模式。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | byte[] | 模式。 |

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


获取样式。

**Returns:**
int - 样式。
### deepClone() {#deepClone--}
```
public Object deepClone()
```


克隆此实例。

**Returns:**
java.lang.Object - 返回源画笔的新实例
