com.aspose.slides.pptx
Class LineFormatEx

java.lang.Object
  extended by com.aspose.slides.pptx.LineFormatEx
All Implemented Interfaces:
ILinelParamSource

public class LineFormatEx
extends java.lang.Object
implements ILinelParamSource

Represents format of a line.


Method Summary
 boolean equals(LineFormatEx lf)
          Determines whether the two LineFormatEx instances are equal.
 boolean equals(java.lang.Object obj)
          Determines whether the two LineFormatEx instances are equal.
 LineAlignmentEx getAlignment()
          Returns the line alignment.
 LineArrowheadLengthEx getBeginArrowheadLength()
          Returns the arrowhead length at the beginning of a line.
 LineArrowheadStyleEx getBeginArrowheadStyle()
          Returns the arrowhead style at the beginning of a line.
 LineArrowheadWidthEx getBeginArrowheadWidth()
          Returns the arrowhead width at the beginning of a line.
 LineCapStyleEx getCapStyle()
          Returns the line cap style.
 float[] getCustomDashPattern()
          Returns the custom dash pattern.
 LineDashStyleEx getDashStyle()
          Returns the line dash style.
 LineArrowheadLengthEx getEndArrowheadLength()
          Returns the arrowhead length at the end of a line.
 LineArrowheadStyleEx getEndArrowheadStyle()
          Returns the arrowhead style at the end of a line.
 LineArrowheadWidthEx getEndArrowheadWidth()
          Returns the arrowhead width at the end of a line.
 LineFillFormatEx getFillFormat()
          Returns the fill format of a line.
 int GetHashCode()
          Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 LineJoinStyleEx getJoinStyle()
          Returns the line join style.
 float getMiterLimit()
          Returns the miter limit of a line.
 PresentationEx getPresentation()
          Returns the parent presentation of a LineFormatEx.
 BaseSlideEx getSlide()
          Returns the parent slide of a LineFormatEx.
 LineStyleEx getStyle()
          Returns the line style.
 double getWidth()
          Returns the width of a line.
 void setAlignment(LineAlignmentEx value)
          Sets the line alignment.
 void setBeginArrowheadLength(LineArrowheadLengthEx value)
          Sets the arrowhead length at the beginning of a line.
 void setBeginArrowheadStyle(LineArrowheadStyleEx value)
          Sets the arrowhead style at the beginning of a line.
 void setBeginArrowheadWidth(LineArrowheadWidthEx value)
          Sets the arrowhead width at the beginning of a line.
 void setCapStyle(LineCapStyleEx value)
          Sets the line cap style.
 void setCustomDashPattern(float[] value)
          Sets the custom dash pattern.
 void setDashStyle(LineDashStyleEx value)
          Sets the line dash style.
 void setEndArrowheadLength(LineArrowheadLengthEx value)
          Sets the arrowhead length at the end of a line.
 void setEndArrowheadStyle(LineArrowheadStyleEx value)
          Sets the arrowhead style at the end of a line.
 void setEndArrowheadWidth(LineArrowheadWidthEx value)
          Sets the arrowhead width at the end of a line.
 void setJoinStyle(LineJoinStyleEx value)
          Sets the line join style.
 void setMiterLimit(float value)
          Sets the miter limit of a line.
 void setStyle(LineStyleEx value)
          Sets the line style.
 void setWidth(double value)
          Sets the width of a line.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object obj)
Determines whether the two LineFormatEx instances are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The LineFormatEx to compare with the current LineFormatEx.
Returns:
true if the specified LineFormatEx is equal to the current LineFormatEx.

equals

public boolean equals(LineFormatEx lf)
Determines whether the two LineFormatEx instances are equal.

Parameters:
lf - The LineFormatEx to compare with the current LineFormatEx.
Returns:
true if the specified LineFormatEx is equal to the current LineFormatEx.

getFillFormat

public LineFillFormatEx getFillFormat()
Returns the fill format of a line.

Returns:
See LineFillFormatEx.

getWidth

public double getWidth()
Returns the width of a line.


setWidth

public void setWidth(double value)
Sets the width of a line.

Parameters:
value - new line width.

getDashStyle

public LineDashStyleEx getDashStyle()
Returns the line dash style.

Returns:
See LineDashStyleEx.

setDashStyle

public void setDashStyle(LineDashStyleEx value)
Sets the line dash style.

Parameters:
value - new dash style. See LineDashStyleEx.

getCustomDashPattern

public float[] getCustomDashPattern()
Returns the custom dash pattern.


setCustomDashPattern

public void setCustomDashPattern(float[] value)
Sets the custom dash pattern.

Parameters:
value - new custom dash pattern.

getCapStyle

public LineCapStyleEx getCapStyle()
Returns the line cap style.

Returns:
See LineCapStyleEx.

setCapStyle

public void setCapStyle(LineCapStyleEx value)
Sets the line cap style.

Parameters:
value - new line cap style. See LineCapStyleEx.

getStyle

public LineStyleEx getStyle()
Returns the line style.

Returns:
See LineStyleEx.

setStyle

public void setStyle(LineStyleEx value)
Sets the line style.

Parameters:
value - new line style. See LineStyleEx.

getAlignment

public LineAlignmentEx getAlignment()
Returns the line alignment.

Returns:
See LineAlignmentEx.

setAlignment

public void setAlignment(LineAlignmentEx value)
Sets the line alignment.

Parameters:
value - new line alignment. See LineAlignmentEx.

getJoinStyle

public LineJoinStyleEx getJoinStyle()
Returns the line join style.

Returns:
See LineJoinStyleEx.

setJoinStyle

public void setJoinStyle(LineJoinStyleEx value)
Sets the line join style.

Parameters:
value - new line join style. See LineJoinStyleEx.

getMiterLimit

public float getMiterLimit()
Returns the miter limit of a line.


setMiterLimit

public void setMiterLimit(float value)
Sets the miter limit of a line.

Parameters:
value - new miter limit.

getBeginArrowheadStyle

public LineArrowheadStyleEx getBeginArrowheadStyle()
Returns the arrowhead style at the beginning of a line.

Returns:
See LineArrowheadStyleEx.

setBeginArrowheadStyle

public void setBeginArrowheadStyle(LineArrowheadStyleEx value)
Sets the arrowhead style at the beginning of a line.

Parameters:
value - See LineArrowheadStyleEx.

getEndArrowheadStyle

public LineArrowheadStyleEx getEndArrowheadStyle()
Returns the arrowhead style at the end of a line.

Returns:
See LineArrowheadStyleEx.

setEndArrowheadStyle

public void setEndArrowheadStyle(LineArrowheadStyleEx value)
Sets the arrowhead style at the end of a line.

Parameters:
value - See LineArrowheadStyleEx.

getBeginArrowheadWidth

public LineArrowheadWidthEx getBeginArrowheadWidth()
Returns the arrowhead width at the beginning of a line.

Returns:
See LineArrowheadWidthEx.

setBeginArrowheadWidth

public void setBeginArrowheadWidth(LineArrowheadWidthEx value)
Sets the arrowhead width at the beginning of a line.

Parameters:
value - See LineArrowheadWidthEx.

getEndArrowheadWidth

public LineArrowheadWidthEx getEndArrowheadWidth()
Returns the arrowhead width at the end of a line.

Returns:
See LineArrowheadWidthEx.

setEndArrowheadWidth

public void setEndArrowheadWidth(LineArrowheadWidthEx value)
Sets the arrowhead width at the end of a line.

Parameters:
value - See LineArrowheadWidthEx.

getBeginArrowheadLength

public LineArrowheadLengthEx getBeginArrowheadLength()
Returns the arrowhead length at the beginning of a line.

Returns:
See LineArrowheadLengthEx.

setBeginArrowheadLength

public void setBeginArrowheadLength(LineArrowheadLengthEx value)
Sets the arrowhead length at the beginning of a line.

Parameters:
value - See LineArrowheadLengthEx.

getEndArrowheadLength

public LineArrowheadLengthEx getEndArrowheadLength()
Returns the arrowhead length at the end of a line.

Returns:
See LineArrowheadLengthEx.

setEndArrowheadLength

public void setEndArrowheadLength(LineArrowheadLengthEx value)
Sets the arrowhead length at the end of a line.

Parameters:
value - See LineArrowheadLengthEx.

GetHashCode

public int GetHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Always returns constant because object is mutable.

Returns:
23456

getSlide

public BaseSlideEx getSlide()
Returns the parent slide of a LineFormatEx.


getPresentation

public PresentationEx getPresentation()
Returns the parent presentation of a LineFormatEx.