LineFormat
Overview
LineFormat is a class in Aspose.Slides FOSS for Java.
Inherits from: ILineFormat.
Represents format of a line.
This class provides 32 methods for working with LineFormat objects in Java programs.
Available methods include: LineFormat, getAlignment, getBeginArrowheadLength, getBeginArrowheadStyle, getBeginArrowheadWidth, getCapStyle, getCustomDashPattern, getDashStyle, getEndArrowheadLength, getEndArrowheadStyle, getEndArrowheadWidth, getFillFormat, and 19 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 | Gets the format not defined. |
fillFormat | ILineFillFormat | Read | Gets the fill format. |
width | double | Read | Gets the width. |
dashStyle | LineDashStyle | Read | Gets the dash style. |
customDashPattern | List<Double> | Read | Gets the custom dash pattern. |
capStyle | LineCapStyle | Read | Gets the cap style. |
style | LineStyle | Read | Gets the style. |
alignment | LineAlignment | Read | Gets the alignment. |
joinStyle | LineJoinStyle | Read | Gets the join style. |
miterLimit | double | Read | Gets the miter limit. |
beginArrowheadStyle | LineArrowheadStyle | Read | Gets the begin arrowhead style. |
endArrowheadStyle | LineArrowheadStyle | Read | Gets the end arrowhead style. |
beginArrowheadWidth | LineArrowheadWidth | Read | Gets the begin arrowhead width. |
endArrowheadWidth | LineArrowheadWidth | Read | Gets the end arrowhead width. |
beginArrowheadLength | LineArrowheadLength | Read | Gets the begin arrowhead length. |
endArrowheadLength | LineArrowheadLength | Read | Gets the end arrowhead length. |
Methods
| Signature | Description |
|---|---|
LineFormat(parentElement: Element, saveCallback: Runnable, lnTag: String) | Creates a new LineFormat backed by the given parent XML element. |
LineFormat(parentElement: Element, saveCallback: Runnable) | Creates a new LineFormat with the default line tag “ln”. |
isFormatNotDefined() → boolean | Returns true if format not defined is set. |
getFillFormat() → ILineFillFormat | Returns the fill format. |
getWidth() → double | Returns the width. |
setWidth(value: double) | Sets the width value. |
getDashStyle() → LineDashStyle | Returns the dash style. |
setDashStyle(value: LineDashStyle) | Sets the dash style value. |
getCustomDashPattern() → List<Double> | Returns the custom dash pattern. |
setCustomDashPattern(value: List<Double>) | Sets the custom dash pattern value. |
getCapStyle() → LineCapStyle | Returns the cap style. |
setCapStyle(value: LineCapStyle) | Sets the cap style value. |
getStyle() → LineStyle | Returns the style. |
setStyle(value: LineStyle) | Sets the style value. |
getAlignment() → LineAlignment | Returns the alignment. |
setAlignment(value: LineAlignment) | Sets the alignment value. |
getJoinStyle() → LineJoinStyle | Returns the join style. |
setJoinStyle(value: LineJoinStyle) | Sets the join style value. |
getMiterLimit() → double | Returns the miter limit. |
setMiterLimit(value: double) | Sets the miter limit value. |
getBeginArrowheadStyle() → LineArrowheadStyle | Returns the begin arrowhead style. |
setBeginArrowheadStyle(value: LineArrowheadStyle) | Sets the begin arrowhead style value. |
getEndArrowheadStyle() → LineArrowheadStyle | Returns the end arrowhead style. |
setEndArrowheadStyle(value: LineArrowheadStyle) | Sets the end arrowhead style value. |
getBeginArrowheadWidth() → LineArrowheadWidth | Returns the begin arrowhead width. |
setBeginArrowheadWidth(value: LineArrowheadWidth) | Sets the begin arrowhead width value. |
getEndArrowheadWidth() → LineArrowheadWidth | Returns the end arrowhead width. |
setEndArrowheadWidth(value: LineArrowheadWidth) | Sets the end arrowhead width value. |
getBeginArrowheadLength() → LineArrowheadLength | Returns the begin arrowhead length. |
setBeginArrowheadLength(value: LineArrowheadLength) | Sets the begin arrowhead length value. |
getEndArrowheadLength() → LineArrowheadLength | Returns the end arrowhead length. |
setEndArrowheadLength(value: LineArrowheadLength) | Sets the end arrowhead length value. |