Package io.keikai.doc.io.schema.pdf
Class PDFBorder
- java.lang.Object
-
- io.keikai.doc.io.schema.pdf.PDFBorder
-
- All Implemented Interfaces:
IPDFElement
public class PDFBorder extends java.lang.Object implements IPDFElement
Internal Use Only.Represents a border in a PDF document.
- Author:
- Jamson Chan
-
-
Constructor Summary
Constructors Constructor Description PDFBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetColor()Returns the color of the border.io.keikai.doc.api.impl.node.style.TableCellStyle.Border.StylegetStyle()Returns the style of the border.floatgetWidth()Returns the width of the border.voidsetColor(java.awt.Color color)Sets the color of the border.voidsetStyle(io.keikai.doc.api.impl.node.style.TableCellStyle.Border.Style style)Sets the style of the border.voidsetWidth(float width)Sets the width of the border.
-
-
-
Method Detail
-
getWidth
public float getWidth()
Returns the width of the border.- Returns:
- the width of the border.
-
setWidth
public void setWidth(float width)
Sets the width of the border.- Parameters:
width- the width of the border.
-
getStyle
public io.keikai.doc.api.impl.node.style.TableCellStyle.Border.Style getStyle()
Returns the style of the border.- Returns:
- the style of the border.
-
setStyle
public void setStyle(io.keikai.doc.api.impl.node.style.TableCellStyle.Border.Style style)
Sets the style of the border.- Parameters:
style- the style of the border.
-
getColor
public java.awt.Color getColor()
Returns the color of the border.- Returns:
- the color of the border.
-
setColor
public void setColor(java.awt.Color color)
Sets the color of the border.- Parameters:
color- the color of the border.
-
-