|
|||||||||
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.Borders
public class Borders
Constructor Summary
Borders()
Initializes a new instance of the
Method Summary
Borders
deepClone()
Clones self.
Border
getBottom()
Gets bottom border.
Border
getDiagonalDown()
Gets diagonal border from top left corner to bottom right corner.
Border
getDiagonalUp()
Gets diagonal border from bottom left corner to top right corner.
Border
getHorizontal()
Gets horizontal border.
Border
getLeft()
Gets left border.
boolean
getNoBorder()
Gets whether the border exists
Border
getRight()
Gets right border.
Border
getTop()
Gets top border.
Border
getVertical()
Gets vertical border.
boolean
isDefault()
Gets a value indicating whether format is default.
void
isShadow(boolean value)
Sets whether borders are drawn with shadow.
void
setBorderType(BorderStyle value)
Sets style of the borders.
void
setColor(java.awt.Color value)
Sets color of the borders.
void
setLineWidth(float value)
Sets width of the borders.
void
setOnlyLineWidth(float lineWidth)
void
setSpace(float value)
Sets width of space to maintain between borders and text within borders.
Methods inherited from class com.spire.doc.formatting.FormatBase
clearBackground, clearFormatting, hasKey
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
Constructor Detail
Borders
public Borders()
Method Detail
getNoBorder
public boolean getNoBorder()
getLeft
public Border getLeft()
getTop
public Border getTop()
getRight
public Border getRight()
getBottom
public Border getBottom()
getVertical
public Border getVertical()
getHorizontal
public Border getHorizontal()
getDiagonalDown
public Border getDiagonalDown()
getDiagonalUp
public Border getDiagonalUp()
setColor
public void setColor(java.awt.Color value)
setLineWidth
public void setLineWidth(float value)
setOnlyLineWidth
public void setOnlyLineWidth(float lineWidth)
setBorderType
public void setBorderType(BorderStyle value)
setSpace
public void setSpace(float value)
isShadow
public void isShadow(boolean value)
isDefault
public boolean isDefault()
isDefault
in class FormatBase
deepClone
public Borders deepClone()
deepClone
in class AttrCollection
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD