![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.ShapeLine
public class ShapeLine
Encapsulates the object that contains formatting information for the shape's border.
Method Summary | |
---|---|
Color |
getColor()
Gets the border line color of the shape. |
int |
getDashStyle()
Gets the border line dash style of the shape. |
int |
getStyle()
Gets the border line style of the shape. |
float |
getWeight()
Gets the border line weight of the shape,in unit of pts. |
boolean |
isVisible()
Indicates whether the border line to be visible or not. |
void |
setColor(Color color)
Sets the border line color of the shape. |
void |
setDashStyle(int dashStyle)
Sets the border line dash style of the shape. |
void |
setStyle(int style)
Sets the border line style of the shape. |
void |
setVisible(boolean visible)
Sets whether the border line to be visible or not. |
void |
setWeight(float weight)
Sets the border line weight of the shape,in unit of pts. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isVisible()
public void setVisible(boolean visible)
visible
- whether the border line to be visible or not.public Color getColor()
public void setColor(Color color)
color
- the border line color of the shape.public float getWeight()
public void setWeight(float weight)
weight
- the border line weight of the shape.public int getDashStyle()
setDashStyle(int)
public void setDashStyle(int dashStyle)
dashStyle
- dash style.
It could be one of the following values: MsoLineDashStyle.DASH |
MsoLineDashStyle.DASH_DOT |
MsoLineDashStyle.LONG_DASH |
MsoLineDashStyle.LONG_DASH_DOT |
MsoLineDashStyle.LONG_DASH_DOT_DOT |
MsoLineDashStyle.ROUND_DOT |
MsoLineDashStyle.SOLID |
MsoLineDashStyle.SQUARE_DOT |
java.lang.IllegalArgumentException
- if dashStyle is not valid.public int getStyle()
setStyle(int)
public void setStyle(int style)
style
- line style.
It could be one of the following values: MsoLineStyle.SINGLE |
MsoLineStyle.THICK_BETWEEN_THIN |
MsoLineStyle.THIN_THICK |
MsoLineStyle.THICK_THIN |
MsoLineStyle.THIN_THIN |
java.lang.IllegalArgumentException
- if style is not valid.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |