Class Fill

    • Constructor Detail

      • Fill

        public Fill​(Paint paint)
        Parameters:
        paint -
        Throws:
        java.lang.IllegalArgumentException - if the document associated with the {@link com.pdftools.toolbox.pdf.content.Fill# paint} argument has already been closed
        java.lang.IllegalArgumentException - if paint is null
    • Method Detail

      • getPaint

        public Paint getPaint()
        Throws:
        java.lang.IllegalStateException - if the document associated with the Fill object has already been closed
      • setPaint

        public void setPaint​(Paint value)
        Throws:
        java.lang.IllegalStateException - if the document associated with the Fill object has already been closed
        java.lang.UnsupportedOperationException - if the document is read-only
        java.lang.IllegalArgumentException - if the document associated with the given Paint object has already been closed
        java.lang.IllegalArgumentException - if the given Paint object is associated with a different document
        java.lang.IllegalArgumentException - if value is null
      • getInsideRule

        public InsideRule getInsideRule()
        Throws:
        java.lang.IllegalStateException - if the document associated with the Fill object has already been closed
      • setInsideRule

        public void setInsideRule​(InsideRule value)
        Throws:
        java.lang.IllegalStateException - if the document associated with the Fill object has already been closed
        java.lang.UnsupportedOperationException - if the document is read-only
        java.lang.IllegalArgumentException - if value is null