Class PathElement
- java.lang.Object
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
-
- com.pdf_tools.fourheights.pdftoolbox.pdf.content.ContentElement
-
- com.pdf_tools.fourheights.pdftoolbox.pdf.content.PathElement
-
public class PathElement extends ContentElement
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle
getAlignmentBox()
the box for alignment (Getter)Fill
getFill()
This path element's parameters for filling the path ornull
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 ornull
if the path is not stroked.-
Methods inherited from class com.pdf_tools.fourheights.pdftoolbox.pdf.content.ContentElement
copy, getBoundingBox, getTransform, setTransform
-
Methods inherited from class com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getAlignmentBox
public Rectangle getAlignmentBox()
the box for alignment (Getter)
This is a rectangle that may not encompass all parts of an element, but is usefull for alignment.- Throws:
java.lang.IllegalStateException
- the object has already been closed
-
getPath
public Path getPath()
This path element's path object.- Throws:
java.lang.IllegalStateException
- the object has already been closed
-
getStroke
public Stroke getStroke()
This path element's parameters for stroking the path ornull
if the path is not stroked.- Throws:
java.lang.IllegalStateException
- the object has already been closed
-
getFill
public Fill getFill()
This path element's parameters for filling the path ornull
if the path is not filled.- Throws:
java.lang.IllegalStateException
- the object has already been closed
-
-