com.aspose.slides
Class LineFormat

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

public final class LineFormat
extends java.lang.Object

Represents a line and arrowhead formatting.


Method Summary
 int getBeginArrowheadLength()
          Returns the length of an arrowhead at the begin of a line.
 int getBeginArrowheadStyle()
          Returns the arrowhead style at the begin of a line.
 int getBeginArrowheadWidth()
          Returns the width of an arrowhead at the begin of a line.
 int getDashStyle()
          Returns the dash style of a line.
 int getEndArrowheadLength()
          Returns the length of an arrowhead at the end of a line.
 int getEndArrowheadStyle()
          Returns the arrowhead style at the end of a line.
 int getEndArrowheadWidth()
          Returns the width of an arrowhead at the end of a line.
 java.awt.Color getForeColor()
          Returns the foreground color of a line.
 int getStyle()
          Returns the style of a line.
 float getWidth()
          Returns the width of a line.
 boolean isRoundEndCap()
          Determines whether the line has rounded caps.
 boolean isShowLines()
          Determines whether the lines on a shape are visible.
 void setBeginArrowheadLength(int value)
          Sets the length of an arrowhead at the begin of a line.
 void setBeginArrowheadStyle(int value)
          Sets the arrowhead style at the begin of a line.
 void setBeginArrowheadWidth(int value)
          Sets the width of an arrowhead at the begin of a line.
 void setDashStyle(int value)
          Sets the dash style of a line.
 void setEndArrowheadLength(int value)
          Sets the length of an arrowhead at the end of a line.
 void setEndArrowheadStyle(int value)
          Sets the arrowhead style at the end of a line.
 void setEndArrowheadWidth(int value)
          Sets the width of an arrowhead at the end of a line.
 void setForeColor(java.awt.Color value)
          Sets the foreground color of a line.
 void setRoundEndCap(boolean value)
          Sets the style of a line caps.
 void setShowLines(boolean value)
          Change visibility of the lines on a shape..
 void setStyle(int value)
          Sets the style of a line.
 void setWidth(float value)
          Sets the width of a line.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getForeColor

public java.awt.Color getForeColor()
Returns the foreground color of a line.

Returns:
The foreground color.

setForeColor

public void setForeColor(java.awt.Color value)
Sets the foreground color of a line.

Parameters:
value - new foreground color.

getDashStyle

public int getDashStyle()
Returns the dash style of a line.

Returns:
The dash style. See LineDashStyle.

setDashStyle

public void setDashStyle(int value)
Sets the dash style of a line.

Parameters:
value - new dash style. See LineDashStyle.

getStyle

public int getStyle()
Returns the style of a line.

Returns:
The line style. See LineStyle.

setStyle

public void setStyle(int value)
Sets the style of a line.

Parameters:
value - new line style. See LineStyle.

isRoundEndCap

public boolean isRoundEndCap()
Determines whether the line has rounded caps.

Returns:
true if a line has rounded caps.

setRoundEndCap

public void setRoundEndCap(boolean value)
Sets the style of a line caps.

Parameters:
value - true to make rounded caps.

getWidth

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

Returns:
The line width.

setWidth

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

Parameters:
value - new line width.

getBeginArrowheadStyle

public int getBeginArrowheadStyle()
Returns the arrowhead style at the begin of a line.

Returns:
The arrowhead style. See LineArrowheadStyle.

setBeginArrowheadStyle

public void setBeginArrowheadStyle(int value)
Sets the arrowhead style at the begin of a line.

Parameters:
value - new arrowhead style. See LineArrowheadStyle.

getEndArrowheadStyle

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

Returns:
The arrowhead style. See LineArrowheadStyle.

setEndArrowheadStyle

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

Parameters:
value - new arrowhead style. See LineArrowheadStyle.

getBeginArrowheadWidth

public int getBeginArrowheadWidth()
Returns the width of an arrowhead at the begin of a line.

Returns:
The arrowhead width. See LineArrowheadWidth.

setBeginArrowheadWidth

public void setBeginArrowheadWidth(int value)
Sets the width of an arrowhead at the begin of a line.

Parameters:
value - new arrowhead width. See LineArrowheadWidth.

getEndArrowheadWidth

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

Returns:
The arrowhead width. See LineArrowheadWidth.

setEndArrowheadWidth

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

Parameters:
value - new arrowhead width. See LineArrowheadWidth.

getBeginArrowheadLength

public int getBeginArrowheadLength()
Returns the length of an arrowhead at the begin of a line.

Returns:
The arrowhead length. See LineArrowheadLength.

setBeginArrowheadLength

public void setBeginArrowheadLength(int value)
Sets the length of an arrowhead at the begin of a line.

Parameters:
value - new arrowhead length. See LineArrowheadLength.

getEndArrowheadLength

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

Returns:
The arrowhead length. See LineArrowheadLength.

setEndArrowheadLength

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

Parameters:
value - new arrowhead length. See LineArrowheadLength.

isShowLines

public boolean isShowLines()
Determines whether the lines on a shape are visible.

Returns:
true if the lines are visible.

setShowLines

public void setShowLines(boolean value)
Change visibility of the lines on a shape..

Parameters:
value - true to make lines on a shape visible.