public class PathElement extends ContentElement
Modifier and Type | Method and Description |
---|---|
static PathElement |
createDynamicObject(long handle) |
Rectangle |
getAlignmentBox()
the box for alignment (Getter)
|
Fill |
getFill()
This path element's parameters for filling the path or
null if the path is not filled. |
Path |
getPath()
This path element's path object.
|
Stroke |
getStroke()
This path element's parameters for stroking the path or
null if the path is not stroked. |
copy, getBoundingBox, getTransform, setTransform
equals, hashCode
public static PathElement createDynamicObject(long handle)
public Rectangle getAlignmentBox()
java.lang.IllegalStateException
- the object has already been closedpublic Path getPath()
java.lang.IllegalStateException
- the object has already been closedpublic Stroke getStroke()
null
if the path is not stroked.java.lang.IllegalStateException
- the object has already been closedpublic Fill getFill()
null
if the path is not filled.java.lang.IllegalStateException
- the object has already been closed