Package com.pdftools.toolbox.pdf.content
Class Fill
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.pdf.content.Fill
-
public class Fill extends NativeObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsideRulegetInsideRule()PaintgetPaint()voidsetInsideRule(InsideRule value)voidsetPaint(Paint value)-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
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 closedjava.lang.IllegalArgumentException- ifpaintisnull
-
-
Method Detail
-
getPaint
public Paint getPaint()
- Throws:
java.lang.IllegalStateException- if the document associated with theFillobject has already been closed
-
setPaint
public void setPaint(Paint value)
- Throws:
java.lang.IllegalStateException- if the document associated with theFillobject has already been closedjava.lang.UnsupportedOperationException- if the document is read-onlyjava.lang.IllegalArgumentException- if the document associated with the givenPaintobject has already been closedjava.lang.IllegalArgumentException- if the givenPaintobject is associated with a different documentjava.lang.IllegalArgumentException- ifvalueisnull
-
getInsideRule
public InsideRule getInsideRule()
- Throws:
java.lang.IllegalStateException- if the document associated with theFillobject has already been closed
-
setInsideRule
public void setInsideRule(InsideRule value)
- Throws:
java.lang.IllegalStateException- if the document associated with theFillobject has already been closedjava.lang.UnsupportedOperationException- if the document is read-onlyjava.lang.IllegalArgumentException- ifvalueisnull
-
-