Class ClippingPathInfo
java.lang.Object
com.itextpdf.kernel.pdf.canvas.parser.data.AbstractRenderInfo
com.itextpdf.kernel.pdf.canvas.parser.data.ClippingPathInfo
- All Implemented Interfaces:
-
IEventData
Represents the clipping path data.
-
Field Summary
Fields inherited from class com.itextpdf.kernel.pdf.canvas.parser.data.AbstractRenderInfo
gs
-
Constructor Summary
ConstructorDescriptionClippingPathInfo
(CanvasGraphicsState gs, Path path, Matrix ctm) Creates a newClippingPathInfo
instance. -
Method Summary
Modifier and TypeMethodDescriptionGets thePath
which represents current clipping path.getCtm()
Gets the currenttransformation matrix
.Methods inherited from class com.itextpdf.kernel.pdf.canvas.parser.data.AbstractRenderInfo
checkGraphicsState, getGraphicsState, isGraphicsStatePreserved, preserveGraphicsState, releaseGraphicsState
-
Constructor Details
-
ClippingPathInfo
Creates a newClippingPathInfo
instance.- Parameters:
-
gs
- thecanvas graphics state
-
path
- thePath
which represents current clipping path -
ctm
- the currenttransformation matrix
-
-
Method Details
-
getClippingPath
Gets thePath
which represents current clipping path.- Returns:
-
the
Path
which represents current clipping path
-
getCtm
Gets the currenttransformation matrix
.- Returns:
-
the current
transformation matrix
-