---
title: "LineTypes"
url: "https://reference.aspose.com/imaging/java/com.aspose.imaging.fileformats.cmx.objectmodel.enums/linetypes/"
product: "Aspose.Imaging for Java API Reference"
description: "Flags to describe the type of line."
---

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

Flags to describe the type of line.
## Fields

| Field | Description |
| --- | --- |
| [None](#None) | Not used line |
| [Solid](#Solid) | Solid line. |
| [Dashed](#Dashed) | Dashed line. |
| [BehindFill](#BehindFill) | The line must be rendered behind fill of shape. |
| [ScalePen](#ScalePen) | The line width is scaled relative to size of shape. |
### None {#None}
```
public static final byte None
```


Not used line

### Solid {#Solid}
```
public static final byte Solid
```


Solid line.

### Dashed {#Dashed}
```
public static final byte Dashed
```


Dashed line.

### BehindFill {#BehindFill}
```
public static final byte BehindFill
```


The line must be rendered behind fill of shape.

### ScalePen {#ScalePen}
```
public static final byte ScalePen
```


The line width is scaled relative to size of shape.

