Package io.keikai.doc.io.schema.pdf
Class PDFBorder
java.lang.Object
io.keikai.doc.io.schema.pdf.PDFBorder
- All Implemented Interfaces:
IPDFElement
Internal Use Only.
Represents a border in a PDF document.
- Author:
- Jamson Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()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.voidSets 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.
-
Constructor Details
-
PDFBorder
public PDFBorder()
-
-
Method Details
-
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
Returns the color of the border.- Returns:
- the color of the border.
-
setColor
Sets the color of the border.- Parameters:
color- the color of the border.
-