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 it's arrowheads formatting.


Method Summary
 int getBeginArrowheadLength()
          Returns the length of an arrowhead at the beginning of a line.
 int getBeginArrowheadStyle()
          Returns the arrowhead style at the beginning of a line.
 int getBeginArrowheadWidth()
          Returns the width of an arrowhead at the beginning 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.
 LineJoinStyle getJoinStyle()
          Returns the style of a line joining.
 boolean getShowLines()
          Returns True if shape has visible lines (frame).
 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 of a shape are visible.
 void setBeginArrowheadLength(int value)
          Sets the length of an arrowhead at the beginning of a line.
 void setBeginArrowheadStyle(int value)
          Sets the arrowhead style at the beginning of a line.
 void setBeginArrowheadWidth(int value)
          Sets the width of an arrowhead at the beginning 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 setJoinStyle(LineJoinStyle value)
          Sets the style of a line joining.
 void setRoundEndCap(boolean value)
          Sets whether the line has rounded caps.
 void setShowLines(boolean value)
          Sets whether the lines of a shape are visible.
 void setStyle(int value)
          Sets the style of a line.
 void setWidth(float value)
          Sets the width of a line in points.
 
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.


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. See LineDashStyle.


setDashStyle

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

Parameters:
value - new dash style of a line. See LineDashStyle.

getStyle

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


setStyle

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

Parameters:
value - new style of a line. See LineStyle.

getJoinStyle

public LineJoinStyle getJoinStyle()
Returns the style of a line joining. See LineJoinStyle.


setJoinStyle

public void setJoinStyle(LineJoinStyle value)
Sets the style of a line joining.

Parameters:
value - new style. See LineJoinStyle.

isRoundEndCap

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

Returns:
true if the line has rounded caps.

setRoundEndCap

public void setRoundEndCap(boolean value)
Sets whether the line has rounded caps.

Parameters:
value - true to set rounded caps.

getWidth

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


setWidth

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

Parameters:
value - new width of a line.

getBeginArrowheadStyle

public int getBeginArrowheadStyle()
Returns the arrowhead style at the beginning of a line. See LineArrowheadStyle.


setBeginArrowheadStyle

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

Parameters:
value - new arrowhead style. See LineArrowheadStyle.

getEndArrowheadStyle

public int getEndArrowheadStyle()
Returns the arrowhead style at the end of a line. 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 beginning of a line. See LineArrowheadWidth.


setBeginArrowheadWidth

public void setBeginArrowheadWidth(int value)
Sets the width of an arrowhead at the beginning 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. 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 beginning of a line. See LineArrowheadLength.


setBeginArrowheadLength

public void setBeginArrowheadLength(int value)
Sets the length of an arrowhead at the beginning 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. 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 of a shape are visible.

Returns:
true if the lines are visible.

setShowLines

public void setShowLines(boolean value)
Sets whether the lines of a shape are visible.

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

getShowLines

public boolean getShowLines()
Returns True if shape has visible lines (frame).