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

指定 `Pen` 对象可以用于线段结束的可用帽式样。
## 字段

| 字段 | 描述 |
| --- | --- |
| [Flat](#Flat) | 指定平直的线帽。 |
| [Square](#Square) | 指定方形线帽。 |
| [Round](#Round) | 指定圆形线帽。 |
| [Triangle](#Triangle) | 指定三角形线帽。 |
| [NoAnchor](#NoAnchor) | 指定无锚点。 |
| [SquareAnchor](#SquareAnchor) | 指定方形锚点线帽。 |
| [RoundAnchor](#RoundAnchor) | 指定圆形锚点帽。 |
| [DiamondAnchor](#DiamondAnchor) | 指定菱形锚点帽。 |
| [ArrowAnchor](#ArrowAnchor) | 指定箭头形锚点帽。 |
| [AnchorMask](#AnchorMask) | 指定自定义线帽。 |
| [Custom](#Custom) | 指定用于检查线帽是否为锚点帽的掩码。 |
### Flat {#Flat}
```
public static final int Flat
```


指定平直的线帽。

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


指定方形线帽。

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


指定圆形线帽。

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


指定三角形线帽。

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


指定无锚点。

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


指定方形锚点线帽。

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


指定圆形锚点帽。

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


指定菱形锚点帽。

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


指定箭头形锚点帽。

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


指定自定义线帽。

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


指定用于检查线帽是否为锚点帽的掩码。

