com.aspose.slides
Class LineFormatEx

java.lang.Object
  extended by com.aspose.slides.LineFormatEx

public class LineFormatEx
extends java.lang.Object

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.
 byte getAlignment()
           Returns or sets the line alignment.
 byte getBeginArrowheadLength()
           Returns or sets the arrowhead length at the beginning of a line.
 byte getBeginArrowheadStyle()
           Returns or sets the arrowhead style at the beginning of a line.
 byte getBeginArrowheadWidth()
           Returns or sets the arrowhead width at the beginning of a line.
 byte getCapStyle()
           Returns or sets the line cap style.
 float[] getCustomDashPattern()
           Returns or sets the custom dash pattern.
 byte getDashStyle()
           Returns or sets the line dash style.
 byte getEndArrowheadLength()
           Returns or sets the arrowhead length at the end of a line.
 byte getEndArrowheadStyle()
           Returns or sets the arrowhead style at the end of a line.
 byte getEndArrowheadWidth()
           Returns or sets the arrowhead width at the end of a line.
 LineFillFormatEx getFillFormat()
           Returns the fill format of a line.
 byte getJoinStyle()
           Returns or sets the lines join style.
 float getMiterLimit()
           Returns or sets the miter limit of a line.
 PresentationEx getPresentation()
           Returns the parent presentation of a LineFormatEx.
 BaseSlideEx getSlide()
           Returns the parent slide of a LineFormatEx.
 byte getStyle()
           Returns or sets the line style.
 double getWidth()
           Returns or sets the width of a line.
 int hashCode()
           Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 void setAlignment(byte value)
           
 void setBeginArrowheadLength(byte value)
           
 void setBeginArrowheadStyle(byte value)
           
 void setBeginArrowheadWidth(byte value)
           
 void setCapStyle(byte value)
           
 void setCustomDashPattern(float[] value)
           
 void setDashStyle(byte value)
           
 void setEndArrowheadLength(byte value)
           
 void setEndArrowheadStyle(byte value)
           
 void setEndArrowheadWidth(byte value)
           
 void setJoinStyle(byte value)
           
 void setMiterLimit(float value)
           
 void setStyle(byte value)
           
 void setWidth(double value)
           
 
Methods inherited from class java.lang.Object
getClass, 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:
<b>true</b> if the specified LineFormatEx is equal to the current LineFormatEx; otherwise, <b>false</b>.

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:
<b>true</b> if the specified LineFormatEx is equal to the current LineFormatEx; otherwise, <b>false</b>.

getFillFormat

public LineFillFormatEx getFillFormat()

Returns the fill format of a line. Read-only LineFillFormatEx .


getWidth

public double getWidth()

Returns or sets the width of a line. Read/write double.


setWidth

public void setWidth(double value)

getDashStyle

public byte getDashStyle()

Returns or sets the line dash style. Read/write LineDashStyleEx.


setDashStyle

public void setDashStyle(byte value)

getCustomDashPattern

public float[] getCustomDashPattern()

Returns or sets the custom dash pattern. Read/write float[].


setCustomDashPattern

public void setCustomDashPattern(float[] value)

getCapStyle

public byte getCapStyle()

Returns or sets the line cap style. Read/write LineCapStyleEx.


setCapStyle

public void setCapStyle(byte value)

getStyle

public byte getStyle()

Returns or sets the line style. Read/write LineStyleEx.


setStyle

public void setStyle(byte value)

getAlignment

public byte getAlignment()

Returns or sets the line alignment. Read/write LineAlignmentEx.


setAlignment

public void setAlignment(byte value)

getJoinStyle

public byte getJoinStyle()

Returns or sets the lines join style. Read/write LineJoinStyleEx.


setJoinStyle

public void setJoinStyle(byte value)

getMiterLimit

public float getMiterLimit()

Returns or sets the miter limit of a line. Read/write float.


setMiterLimit

public void setMiterLimit(float value)

getBeginArrowheadStyle

public byte getBeginArrowheadStyle()

Returns or sets the arrowhead style at the beginning of a line. Read/write LineArrowheadStyleEx.


setBeginArrowheadStyle

public void setBeginArrowheadStyle(byte value)

getEndArrowheadStyle

public byte getEndArrowheadStyle()

Returns or sets the arrowhead style at the end of a line. Read/write LineArrowheadStyleEx.


setEndArrowheadStyle

public void setEndArrowheadStyle(byte value)

getBeginArrowheadWidth

public byte getBeginArrowheadWidth()

Returns or sets the arrowhead width at the beginning of a line. Read/write LineArrowheadWidthEx.


setBeginArrowheadWidth

public void setBeginArrowheadWidth(byte value)

getEndArrowheadWidth

public byte getEndArrowheadWidth()

Returns or sets the arrowhead width at the end of a line. Read/write LineArrowheadWidthEx.


setEndArrowheadWidth

public void setEndArrowheadWidth(byte value)

getBeginArrowheadLength

public byte getBeginArrowheadLength()

Returns or sets the arrowhead length at the beginning of a line. Read/write LineArrowheadLengthEx.


setBeginArrowheadLength

public void setBeginArrowheadLength(byte value)

getEndArrowheadLength

public byte getEndArrowheadLength()

Returns or sets the arrowhead length at the end of a line. Read/write LineArrowheadLengthEx.


setEndArrowheadLength

public void setEndArrowheadLength(byte value)

hashCode

public int hashCode()

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Overrides:
hashCode in class java.lang.Object
Returns:
23456


Overriden to make compiler happy. Always returns constant because object is mutable.


getSlide

public BaseSlideEx getSlide()

Returns the parent slide of a LineFormatEx. Read-only BaseSlideEx.


getPresentation

public PresentationEx getPresentation()

Returns the parent presentation of a LineFormatEx. Read-only PresentationEx.