LineFormat

Overview

LineFormat is a class in Aspose.Slides FOSS for Java. Inherits from: ILineFormat.

Represents format of a line.

This class declares 32 methods for LineFormat objects in Java programs. Available methods include: LineFormat, getAlignment, getBeginArrowheadLength, getBeginArrowheadStyle, getBeginArrowheadWidth, getCapStyle, getCustomDashPattern, getDashStyle, getEndArrowheadLength, getEndArrowheadStyle, getEndArrowheadWidth, getFillFormat, and 19 additional methods. 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

NameTypeAccessDescription
formatNotDefinedbooleanReadGets the format not defined.
fillFormatILineFillFormatReadGets the fill format.
widthdoubleRead/WriteGets or sets the width.
dashStyleLineDashStyleRead/WriteGets or sets the dash style.
customDashPatternList<Double>Read/WriteGets or sets the custom dash pattern.
capStyleLineCapStyleRead/WriteGets or sets the cap style.
styleLineStyleRead/WriteGets or sets the style.
alignmentLineAlignmentRead/WriteGets or sets the alignment.
joinStyleLineJoinStyleRead/WriteGets or sets the join style.
miterLimitdoubleRead/WriteGets or sets the miter limit.
beginArrowheadStyleLineArrowheadStyleRead/WriteGets or sets the begin arrowhead style.
endArrowheadStyleLineArrowheadStyleRead/WriteGets or sets the end arrowhead style.
beginArrowheadWidthLineArrowheadWidthRead/WriteGets or sets the begin arrowhead width.
endArrowheadWidthLineArrowheadWidthRead/WriteGets or sets the end arrowhead width.
beginArrowheadLengthLineArrowheadLengthRead/WriteGets or sets the begin arrowhead length.
endArrowheadLengthLineArrowheadLengthRead/WriteGets or sets the end arrowhead length.

Methods

SignatureDescription
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() → booleanReturns true if format not defined is set.
getFillFormat() → ILineFillFormatReturns the fill format.
getWidth() → doubleReturns the width.
setWidth(value: double)Sets the width value.
getDashStyle() → LineDashStyleReturns 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() → LineCapStyleReturns the cap style.
setCapStyle(value: LineCapStyle)Sets the cap style value.
getStyle() → LineStyleReturns the style.
setStyle(value: LineStyle)Sets the style value.
getAlignment() → LineAlignmentReturns the alignment.
setAlignment(value: LineAlignment)Sets the alignment value.
getJoinStyle() → LineJoinStyleReturns the join style.
setJoinStyle(value: LineJoinStyle)Sets the join style value.
getMiterLimit() → doubleReturns the miter limit.
setMiterLimit(value: double)Sets the miter limit value.
getBeginArrowheadStyle() → LineArrowheadStyleReturns the begin arrowhead style.
setBeginArrowheadStyle(value: LineArrowheadStyle)Sets the begin arrowhead style value.
getEndArrowheadStyle() → LineArrowheadStyleReturns the end arrowhead style.
setEndArrowheadStyle(value: LineArrowheadStyle)Sets the end arrowhead style value.
getBeginArrowheadWidth() → LineArrowheadWidthReturns the begin arrowhead width.
setBeginArrowheadWidth(value: LineArrowheadWidth)Sets the begin arrowhead width value.
getEndArrowheadWidth() → LineArrowheadWidthReturns the end arrowhead width.
setEndArrowheadWidth(value: LineArrowheadWidth)Sets the end arrowhead width value.
getBeginArrowheadLength() → LineArrowheadLengthReturns the begin arrowhead length.
setBeginArrowheadLength(value: LineArrowheadLength)Sets the begin arrowhead length value.
getEndArrowheadLength() → LineArrowheadLengthReturns the end arrowhead length.
setEndArrowheadLength(value: LineArrowheadLength)Sets the end arrowhead length value.

See Also

 English