**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfplusobject), [com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusStructureObjectType](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfplusstructureobjecttype)
```
public final class EmfPlusCustomEndCapData extends EmfPlusStructureObjectType
```

The EmfPlusCustomEndCapData object specifies a custom line cap for the end of a line.
## Constructors

| Constructor | Description |
| --- | --- |
| [EmfPlusCustomEndCapData()](#EmfPlusCustomEndCapData--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getCustomEndCap()](#getCustomEndCap--) | Gets or sets a custom line cap that defines the shape to draw at the end of a line. |
| [setCustomEndCap(EmfPlusCustomLineCap value)](#setCustomEndCap-com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusCustomLineCap-) | Gets or sets a custom line cap that defines the shape to draw at the end of a line. |
### EmfPlusCustomEndCapData() {#EmfPlusCustomEndCapData--}
```
public EmfPlusCustomEndCapData()
```


### getCustomEndCap() {#getCustomEndCap--}
```
public EmfPlusCustomLineCap getCustomEndCap()
```


Gets or sets a custom line cap that defines the shape to draw at the end of a line. It can be any of various shapes, including a square, circle, or diamond

**Returns:**
[EmfPlusCustomLineCap](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscustomlinecap)
### setCustomEndCap(EmfPlusCustomLineCap value) {#setCustomEndCap-com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusCustomLineCap-}
```
public void setCustomEndCap(EmfPlusCustomLineCap value)
```


Gets or sets a custom line cap that defines the shape to draw at the end of a line. It can be any of various shapes, including a square, circle, or diamond

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [EmfPlusCustomLineCap](../../com.aspose.imaging.fileformats.emf.emfplus.objects/emfpluscustomlinecap) |  |

