Class 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.Color getColor()
      Returns the color of the border.
      io.keikai.doc.api.impl.node.style.TableCellStyle.Border.Style getStyle()
      Returns the style of the border.
      float getWidth()
      Returns the width of the border.
      void setColor​(java.awt.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 Detail

      • PDFBorder

        public PDFBorder()
    • 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.