---
title: "WmfBrushStyle"
url: "https://reference.aspose.com/imaging/java/com.aspose.imaging.fileformats.wmf.consts/wmfbrushstyle/"
product: "Aspose.Imaging for Java API Reference"
description: "The BrushStyle Enumeration specifies the different possible brush types that can be used in graphics operations."
---

**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class WmfBrushStyle extends System.Enum
```

The BrushStyle Enumeration specifies the different possible brush types that can be used in graphics operations. For more information, see the specification of the Brush Object (section 2.2.1.1).
## Fields

| Field | Description |
| --- | --- |
| [Solid](#Solid) | A brush that paints a single, constant color, either solid or dithered. |
| [Null](#Null) | A brush that does nothing. |
| [Hatched](#Hatched) | A brush that paints a predefined simple pattern, or "hatch", onto a solid background |
| [Pattern](#Pattern) | A brush that paints a pattern defined by a bitmap, which MAY be a Bitmap16 Object or a DeviceIndependentBitmap (DIB) Object. |
| [Indexed](#Indexed) | Not supported. |
| [Dibpattern](#Dibpattern) | A pattern brush specified by a DIB. |
| [Dibpatternpt](#Dibpatternpt) | A pattern brush specified by a DIB. |
| [Pattern8X8](#Pattern8X8) | Not supported. |
| [Dibpattern8X8](#Dibpattern8X8) | Not supported. |
| [Monopattern](#Monopattern) | Not supported. |
| [Gradient](#Gradient) | The gradient Not suppoted in wmf, support in odg. |
### Solid {#Solid}
```
public static final int Solid
```


A brush that paints a single, constant color, either solid or dithered.

### Null {#Null}
```
public static final int Null
```


A brush that does nothing. Using a NULL brush in a graphics operation MUST have the same effect as using no brush at all

### Hatched {#Hatched}
```
public static final int Hatched
```


A brush that paints a predefined simple pattern, or "hatch", onto a solid background

### Pattern {#Pattern}
```
public static final int Pattern
```


A brush that paints a pattern defined by a bitmap, which MAY be a Bitmap16 Object or a DeviceIndependentBitmap (DIB) Object.

### Indexed {#Indexed}
```
public static final int Indexed
```


Not supported.

### Dibpattern {#Dibpattern}
```
public static final int Dibpattern
```


A pattern brush specified by a DIB.

### Dibpatternpt {#Dibpatternpt}
```
public static final int Dibpatternpt
```


A pattern brush specified by a DIB.

### Pattern8X8 {#Pattern8X8}
```
public static final int Pattern8X8
```


Not supported.

### Dibpattern8X8 {#Dibpattern8X8}
```
public static final int Dibpattern8X8
```


Not supported.

### Monopattern {#Monopattern}
```
public static final int Monopattern
```


Not supported.

### Gradient {#Gradient}
```
public static final int Gradient
```


The gradient Not suppoted in wmf, support in odg.

