---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/ILineFormat
---

# ILineFormat

## Overview

`ILineFormat` is a interface in Aspose.Slides FOSS for Java.
Inherits from: `ILineParamSource`.

Represents format of a line.

This interface provides 30 methods for working with ILineFormat objects in Java programs.
Available methods include: `getAlignment`, `getBeginArrowheadLength`, `getBeginArrowheadStyle`, `getBeginArrowheadWidth`, `getCapStyle`, `getCustomDashPattern`, `getDashStyle`, `getEndArrowheadLength`, `getEndArrowheadStyle`, `getEndArrowheadWidth`, `getFillFormat`, `getJoinStyle`, and 18 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `alignment`, `beginArrowheadLength`, `beginArrowheadStyle`, `beginArrowheadWidth`, `capStyle`, `customDashPattern`, and 10 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `formatNotDefined` | `boolean` | Read | Returns {@code true} if line format is not defined (as just created, default). |
| `fillFormat` | `ILineFillFormat` | Read | Returns the fill format of a line. |
| `width` | `double` | Read | Returns the width of a line in points. |
| `dashStyle` | `LineDashStyle` | Read | Returns the line dash style. |
| `customDashPattern` | `List` | Read | Returns the custom dash pattern as pairs of [dash, space, ...]. |
| `capStyle` | `LineCapStyle` | Read | Returns the line cap style. |
| `style` | `LineStyle` | Read | Returns the line style. |
| `alignment` | `LineAlignment` | Read | Returns the line alignment. |
| `joinStyle` | `LineJoinStyle` | Read | Returns the lines join style. |
| `miterLimit` | `double` | Read | Returns the miter limit of a line. |
| `beginArrowheadStyle` | `LineArrowheadStyle` | Read | Returns the arrowhead style at the beginning of a line. |
| `endArrowheadStyle` | `LineArrowheadStyle` | Read | Returns the arrowhead style at the end of a line. |
| `beginArrowheadWidth` | `LineArrowheadWidth` | Read | Returns the arrowhead width at the beginning of a line. |
| `endArrowheadWidth` | `LineArrowheadWidth` | Read | Returns the arrowhead width at the end of a line. |
| `beginArrowheadLength` | `LineArrowheadLength` | Read | Returns the arrowhead length at the beginning of a line. |
| `endArrowheadLength` | `LineArrowheadLength` | Read | Returns the arrowhead length at the end of a line. |

## Methods

| Signature | Description |
|-----------|-------------|
| `isFormatNotDefined()` → `boolean` | Returns {@code true} if line format is not defined (as just created, default). |
| `getFillFormat()` → `ILineFillFormat` | Returns the fill format of a line. |
| `getWidth()` → `double` | Returns the width of a line in points. |
| `setWidth(value: double)` | Sets the width of a line in points. |
| `getDashStyle()` → `LineDashStyle` | Returns the line dash style. |
| `setDashStyle(value: LineDashStyle)` | Sets the line dash style. |
| `getCustomDashPattern()` → `List` | Returns the custom dash pattern as pairs of [dash, space, ...]. |
| `setCustomDashPattern(value: List)` | Sets the custom dash pattern as pairs of [dash, space, ...]. |
| `getCapStyle()` → `LineCapStyle` | Returns the line cap style. |
| `setCapStyle(value: LineCapStyle)` | Sets the line cap style. |
| `getStyle()` → `LineStyle` | Returns the line style. |
| `setStyle(value: LineStyle)` | Sets the line style. |
| `getAlignment()` → `LineAlignment` | Returns the line alignment. |
| `setAlignment(value: LineAlignment)` | Sets the line alignment. |
| `getJoinStyle()` → `LineJoinStyle` | Returns the lines join style. |
| `setJoinStyle(value: LineJoinStyle)` | Sets the lines join style. |
| `getMiterLimit()` → `double` | Returns the miter limit of a line. |
| `setMiterLimit(value: double)` | Sets the miter limit of a line. |
| `getBeginArrowheadStyle()` → `LineArrowheadStyle` | Returns the arrowhead style at the beginning of a line. |
| `setBeginArrowheadStyle(value: LineArrowheadStyle)` | Sets the arrowhead style at the beginning of a line. |
| `getEndArrowheadStyle()` → `LineArrowheadStyle` | Returns the arrowhead style at the end of a line. |
| `setEndArrowheadStyle(value: LineArrowheadStyle)` | Sets the arrowhead style at the end of a line. |
| `getBeginArrowheadWidth()` → `LineArrowheadWidth` | Returns the arrowhead width at the beginning of a line. |
| `setBeginArrowheadWidth(value: LineArrowheadWidth)` | Sets the arrowhead width at the beginning of a line. |
| `getEndArrowheadWidth()` → `LineArrowheadWidth` | Returns the arrowhead width at the end of a line. |
| `setEndArrowheadWidth(value: LineArrowheadWidth)` | Sets the arrowhead width at the end of a line. |
| `getBeginArrowheadLength()` → `LineArrowheadLength` | Returns the arrowhead length at the beginning of a line. |
| `setBeginArrowheadLength(value: LineArrowheadLength)` | Sets the arrowhead length at the beginning of a line. |
| `getEndArrowheadLength()` → `LineArrowheadLength` | Returns the arrowhead length at the end of a line. |
| `setEndArrowheadLength(value: LineArrowheadLength)` | Sets the arrowhead length at the end of a line. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)