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 InsideRule
getInsideRule()
Paint
getPaint()
void
setInsideRule(InsideRule value)
void
setPaint(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
- ifpaint
isnull
-
-
Method Detail
-
getPaint
public Paint getPaint()
- Throws:
java.lang.IllegalStateException
- if the document associated with theFill
object has already been closed
-
setPaint
public void setPaint(Paint value)
- Throws:
java.lang.IllegalStateException
- if the document associated with theFill
object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalArgumentException
- if the document associated with the givenPaint
object has already been closedjava.lang.IllegalArgumentException
- if the givenPaint
object is associated with a different documentjava.lang.IllegalArgumentException
- ifvalue
isnull
-
getInsideRule
public InsideRule getInsideRule()
- Throws:
java.lang.IllegalStateException
- if the document associated with theFill
object has already been closed
-
setInsideRule
public void setInsideRule(InsideRule value)
- Throws:
java.lang.IllegalStateException
- if the document associated with theFill
object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalArgumentException
- ifvalue
isnull
-
-