Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate

com.aspose.pdf.elements
Class BorderStyle

java.lang.Object
  extended bycom.aspose.pdf.elements.BorderStyle
All Implemented Interfaces:
java.lang.Cloneable

public class BorderStyle
extends java.lang.Object
implements java.lang.Cloneable

Encapsulates info about border such as width, line style, color.


Constructor Summary
BorderStyle()
          Initialize a new instance of the BorderStyle class.
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object arg0)
           
 Color getColor()
          Gets a Color object that indicates the color of the BorderStyle.
 java.lang.String getLineStyle()
          Gets line stype that indicates the line style of the BorderStyle.
 float getWidth()
          Gets line width that indicates the line width of the BorderStyle.
 void setColor(Color m_color)
          Sets a Color object that indicates the color of the BorderStyle.
 void setLineStyle(java.lang.String style)
          Sets line stype that indicates the line style of the BorderStyle.
 void setWidth(float m_width)
          Sets line width that indicates the line width of the BorderStyle.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderStyle

public BorderStyle()
Initialize a new instance of the BorderStyle class.

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException
See Also:
java.lang.Object#clone()

getColor

public Color getColor()
Gets a Color object that indicates the color of the BorderStyle.


setColor

public void setColor(Color m_color)
Sets a Color object that indicates the color of the BorderStyle. Default value is black.


getLineStyle

public java.lang.String getLineStyle()
Gets line stype that indicates the line style of the BorderStyle. Default value is solid.

See Also:
LineStyleType

setLineStyle

public void setLineStyle(java.lang.String style)
Sets line stype that indicates the line style of the BorderStyle.

See Also:
LineStyleType

getWidth

public float getWidth()
Gets line width that indicates the line width of the BorderStyle.


setWidth

public void setWidth(float m_width)
Sets line width that indicates the line width of the BorderStyle.
The unit is point. Default value is 1 point.


equals

public boolean equals(java.lang.Object arg0)
See Also:
Object.equals(java.lang.Object)