Class TopBorderLine
java.lang.Object
com.independentsoft.office.drawing.TopBorderLine
The Class TopBorderLine.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new top border line.TopBorderLine(InternalXMLStreamReader reader)Instantiates a new top border line. -
Method Summary
Modifier and TypeMethodDescriptionclone()getCap()Gets the cap.Gets the compound line type.Gets the dash stops.Gets the gradient fill.Gets the head end.Gets the line width.intGets the miter join limit.Gets the no fill.Gets the pattern fill.Gets the preset line dash.Gets the solid fill.Gets the stroke alignment.Gets the tail end.booleanChecks if is bevel line join.booleanChecks if is round line join.voidsetBevelLineJoin(boolean bevelLineJoin)Sets the bevel line join.voidSets the cap.voidsetCompoundLineType(CompoundLineType compoundLineType)Sets the compound line type.voidsetGradientFill(GradientFill gradientFill)Sets the gradient fill.voidsetHeadEnd(HeadEnd headEnd)Sets the head end.voidsetLineWidth(Unit lineWidth)Sets the line width.voidsetMiterJoinLimit(int miterJoinLimit)Sets the miter join limit.voidSets the no fill.voidsetPatternFill(PatternFill patternFill)Sets the pattern fill.voidsetPresetLineDash(PresetLineDash presetLineDash)Sets the preset line dash.voidsetRoundLineJoin(boolean roundLineJoin)Sets the round line join.voidsetSolidFill(SolidFill solidFill)Sets the solid fill.voidsetStrokeAlignment(PenAlignmentType strokeAlignment)Sets the stroke alignment.voidsetTailEnd(TailEnd tailEnd)Sets the tail end.toString()
-
Constructor Details
-
TopBorderLine
public TopBorderLine()Instantiates a new top border line. -
TopBorderLine
Instantiates a new top border line.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getStrokeAlignment
Gets the stroke alignment.- Returns:
- the stroke alignment
-
setStrokeAlignment
Sets the stroke alignment.- Parameters:
strokeAlignment- the new stroke alignment
-
getCap
Gets the cap.- Returns:
- the cap
-
setCap
Sets the cap.- Parameters:
cap- the new cap
-
getCompoundLineType
Gets the compound line type.- Returns:
- the compound line type
-
setCompoundLineType
Sets the compound line type.- Parameters:
compoundLineType- the new compound line type
-
getLineWidth
Gets the line width.- Returns:
- the line width
-
setLineWidth
Sets the line width.- Parameters:
lineWidth- the new line width
-
isBevelLineJoin
public boolean isBevelLineJoin()Checks if is bevel line join.- Returns:
- true, if is bevel line join
-
setBevelLineJoin
public void setBevelLineJoin(boolean bevelLineJoin)Sets the bevel line join.- Parameters:
bevelLineJoin- the new bevel line join
-
getDashStops
Gets the dash stops.- Returns:
- the dash stops
-
getGradientFill
Gets the gradient fill.- Returns:
- the gradient fill
-
setGradientFill
Sets the gradient fill.- Parameters:
gradientFill- the new gradient fill
-
getHeadEnd
Gets the head end.- Returns:
- the head end
-
setHeadEnd
Sets the head end.- Parameters:
headEnd- the new head end
-
getMiterJoinLimit
public int getMiterJoinLimit()Gets the miter join limit.- Returns:
- the miter join limit
-
setMiterJoinLimit
public void setMiterJoinLimit(int miterJoinLimit)Sets the miter join limit.- Parameters:
miterJoinLimit- the new miter join limit
-
getNoFill
Gets the no fill.- Returns:
- the no fill
-
setNoFill
Sets the no fill.- Parameters:
noFill- the new no fill
-
getPatternFill
Gets the pattern fill.- Returns:
- the pattern fill
-
setPatternFill
Sets the pattern fill.- Parameters:
patternFill- the new pattern fill
-
getPresetLineDash
Gets the preset line dash.- Returns:
- the preset line dash
-
setPresetLineDash
Sets the preset line dash.- Parameters:
presetLineDash- the new preset line dash
-
isRoundLineJoin
public boolean isRoundLineJoin()Checks if is round line join.- Returns:
- true, if is round line join
-
setRoundLineJoin
public void setRoundLineJoin(boolean roundLineJoin)Sets the round line join.- Parameters:
roundLineJoin- the new round line join
-
getSolidFill
Gets the solid fill.- Returns:
- the solid fill
-
setSolidFill
Sets the solid fill.- Parameters:
solidFill- the new solid fill
-
getTailEnd
Gets the tail end.- Returns:
- the tail end
-
setTailEnd
Sets the tail end.- Parameters:
tailEnd- the new tail end
-