public class Fill extends NativeObject
Modifier and Type | Method and Description |
---|---|
static Fill |
createDynamicObject(long handle) |
InsideRule |
getInsideRule() |
Paint |
getPaint() |
void |
setInsideRule(InsideRule value) |
void |
setPaint(Paint value) |
equals, hashCode
public Fill(Paint paint)
paint
- java.lang.IllegalArgumentException
- if the paint argument is null
java.lang.IllegalArgumentException
- if the document associated with the paint
argument has already been closedpublic static Fill createDynamicObject(long handle)
public Paint getPaint()
java.lang.IllegalStateException
- if the document associated with the Fill
object has already been closedpublic void setPaint(Paint value)
java.lang.IllegalStateException
- if the document associated with the Fill
object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalArgumentException
- if the given Paint
object is null
java.lang.IllegalArgumentException
- if the document associated with the given Paint
object has already been closedjava.lang.IllegalArgumentException
- if the given Paint
object is associated with a different documentpublic InsideRule getInsideRule()
java.lang.IllegalStateException
- if the document associated with the Fill
object has already been closedpublic void setInsideRule(InsideRule value)
java.lang.IllegalStateException
- if the document associated with the Fill
object has already been closedjava.lang.UnsupportedOperationException
- if the document is read-onlyjava.lang.IllegalArgumentException
- if value
is null