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

NameTypeAccessDescription
formatNotDefinedbooleanReadGets the format not defined.
fillFormatILineFillFormatReadGets the fill format.
widthdoubleReadGets the width.
dashStyleLineDashStyleReadGets the dash style.
customDashPatternList<Double>ReadGets the custom dash pattern.
capStyleLineCapStyleReadGets the cap style.
styleLineStyleReadGets the style.
alignmentLineAlignmentReadGets the alignment.
joinStyleLineJoinStyleReadGets the join style.
miterLimitdoubleReadGets the miter limit.
beginArrowheadStyleLineArrowheadStyleReadGets the begin arrowhead style.
endArrowheadStyleLineArrowheadStyleReadGets the end arrowhead style.
beginArrowheadWidthLineArrowheadWidthReadGets the begin arrowhead width.
endArrowheadWidthLineArrowheadWidthReadGets the end arrowhead width.
beginArrowheadLengthLineArrowheadLengthReadGets the begin arrowhead length.
endArrowheadLengthLineArrowheadLengthReadGets 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