public class PatchRtfBorderGroup
extends com.lowagie.text.rtf.RtfElement
Constructor and Description |
---|
PatchRtfBorderGroup()
Constructs an empty PatchRtfBorderGroup.
|
PatchRtfBorderGroup(int bordersToAdd,
int borderStyle,
float borderWidth,
Color borderColor)
Constructs a PatchRtfBorderGroup with on border style for multiple borders.
|
Modifier and Type | Method and Description |
---|---|
void |
addBorder(int bordersToAdd,
int borderStyle,
float borderWidth,
Color borderColor)
Adds borders to the PatchRtfBorderGroup
|
void |
removeBorder(int bordersToRemove)
Removes borders from the list of borders
|
void |
writeContent(OutputStream result)
Writes the borders of this PatchRtfBorderGroup
|
public PatchRtfBorderGroup()
public PatchRtfBorderGroup(int bordersToAdd, int borderStyle, float borderWidth, Color borderColor)
bordersToAdd
- The borders to add (Rectangle.LEFT, Rectangle.RIGHT, Rectangle.TOP, Rectangle.BOTTOM, Rectangle.BOX)borderStyle
- The style of border to add (from PatchRtfBorder)borderWidth
- The border width to useborderColor
- The border color to usepublic void addBorder(int bordersToAdd, int borderStyle, float borderWidth, Color borderColor)
bordersToAdd
- The borders to add (Rectangle.LEFT, Rectangle.RIGHT, Rectangle.TOP, Rectangle.BOTTOM, Rectangle.BOX)borderStyle
- The style of border to add (from PatchRtfBorder)borderWidth
- The border width to useborderColor
- The border color to usepublic void removeBorder(int bordersToRemove)
bordersToRemove
- The borders to remove (from Rectangle)public void writeContent(OutputStream result) throws IOException
writeContent
in interface com.lowagie.text.rtf.RtfBasicElement
writeContent
in class com.lowagie.text.rtf.RtfElement
IOException