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

Specifies the style of dashed lines drawn with a [Pen](../../com.aspose.imaging/pen) object.
## Fields

| Field | Description |
| --- | --- |
| [Solid](#Solid) | Specifies a solid line. |
| [Dash](#Dash) | Specifies a line consisting of dashes. |
| [Dot](#Dot) | Specifies a line consisting of dots. |
| [DashDot](#DashDot) | Specifies a line consisting of a repeating pattern of dash-dot. |
| [DashDotDot](#DashDotDot) | Specifies a line consisting of a repeating pattern of dash-dot-dot. |
| [Custom](#Custom) | Specifies a user-defined custom dash style. |
### Solid {#Solid}
```
public static final int Solid
```


Specifies a solid line.

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


Specifies a line consisting of dashes.

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


Specifies a line consisting of dots.

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


Specifies a line consisting of a repeating pattern of dash-dot.

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


Specifies a line consisting of a repeating pattern of dash-dot-dot.

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


Specifies a user-defined custom dash style.

