|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.formatting.FormatBase
com.spire.doc.formatting.AttrCollection
com.spire.doc.formatting.Border
public class Border
Constructor Summary | |
---|---|
Border(FormatBase parent,
int baseKey)
Initializing constructor. |
Method Summary | |
---|---|
BorderStyle |
getBorderType()
Gets or sets style of the border. |
java.awt.Color |
getColor()
Gets or sets color of the border. |
float |
getLineWidth()
Gets or sets width of the border. |
boolean |
getShadow()
Setting to define if border should be drawn with shadow. |
float |
getSpace()
Returns or setswidth of space to maintain between border and text within border. |
void |
initFormatting(com.spire.ms.System.Drawing.Color color,
float lineWidth,
BorderStyle borderType,
boolean shadow)
Initialize Border style. |
boolean |
isDefault()
Gets a value indicating whether format is default. |
void |
setBorderType(BorderStyle value)
Gets or sets style of the border. |
void |
setColor(java.awt.Color value)
Gets or sets color of the border. |
void |
setLineWidth(float value)
Gets or sets width of the border. |
void |
setShadow(boolean value)
Setting to define if border should be drawn with shadow. |
void |
setSpace(float value)
Returns or setswidth of space to maintain between border and text within border. |
Methods inherited from class com.spire.doc.formatting.FormatBase |
---|
clearBackground, clearFormatting, hasKey |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Constructor Detail |
---|
public Border(FormatBase parent, int baseKey)
parent
- The parent.baseKey
- The base key.Method Detail |
---|
public java.awt.Color getColor()
public void setColor(java.awt.Color value)
public float getLineWidth()
public void setLineWidth(float value)
public BorderStyle getBorderType()
public void setBorderType(BorderStyle value)
public float getSpace()
public void setSpace(float value)
public boolean getShadow()
public void setShadow(boolean value)
public boolean isDefault()
isDefault
in class FormatBase
public void initFormatting(com.spire.ms.System.Drawing.Color color, float lineWidth, BorderStyle borderType, boolean shadow)
color
- The color.lineWidth
- Width of the line.borderType
- Type of the border.shadow
- if it specifies shadow, set to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |