Class PDFBorder

java.lang.Object
io.keikai.doc.io.schema.pdf.PDFBorder
All Implemented Interfaces:
IPDFElement

public class PDFBorder extends Object implements IPDFElement
Internal Use Only.

Represents a border in a PDF document.

Author:
Jamson Chan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the color of the border.
    io.keikai.doc.api.impl.node.style.TableCellStyle.Border.Style
    Returns the style of the border.
    float
    Returns the width of the border.
    void
    setColor(Color color)
    Sets the color of the border.
    void
    setStyle(io.keikai.doc.api.impl.node.style.TableCellStyle.Border.Style style)
    Sets the style of the border.
    void
    setWidth(float width)
    Sets the width of the border.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public Color getColor()
      Returns the color of the border.
      Returns:
      the color of the border.
    • setColor

      public void setColor(Color color)
      Sets the color of the border.
      Parameters:
      color - the color of the border.