|
|||||||||
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.wordattrcollection
com.spire.doc.formatting.border
public class border
constructor summary | |
---|---|
border(formatbase parent,
int basekey)
initializing constructor. |
method summary | |
---|---|
borderstyle |
getbordertype()
gets style of the border. |
java.awt.color |
getcolor()
gets color of the border. |
float |
getlinewidth()
gets width of the border. |
boolean |
getshadow()
gets the definition if border should be drawn with shadow. |
float |
getspace()
returns width of space to maintain between border and text within border. |
void |
initformatting(java.awt.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)
sets style of the border. |
void |
setcolor(java.awt.color value)
sets color of the border. |
void |
setlinewidth(float value)
sets width of the border. |
void |
setshadow(boolean value)
sets the definition if border should be drawn with shadow. |
void |
setspace(float value)
sets width of space to maintain between border and text within border. |
methods inherited from class com.spire.doc.formatting.formatbase |
---|
clearformatting, haskey |
methods inherited from class com.spire.doc.ownerholder |
---|
getdocument |
constructor detail |
---|
public border(formatbase parent, int basekey)
parent
- parentbasekey
- basekeymethod 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)
value
- borderstylepublic 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(java.awt.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 |