---
title: "CapsTypes"
url: "https://reference.aspose.com/imaging/java/com.aspose.imaging.fileformats.cmx.objectmodel.enums/capstypes/"
product: "Aspose.Imaging for Java API Reference"
description: "Types of caps for the line."
---

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

Types of caps for the line.
## Fields

| Field | Description |
| --- | --- |
| [Square](#Square) | Add square end shapes to the line. |
| [Round](#Round) | Add round end shapes to the line. |
| [ExtendedSquare](#ExtendedSquare) | The extended squareAdd square end shapes that extend the length of the line. |
### Square {#Square}
```
public static final int Square
```


Add square end shapes to the line.

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


Add round end shapes to the line.

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


The extended squareAdd square end shapes that extend the length of the line.

