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
ConstructorsConstructorDescriptionClippingPathInfo(CanvasGraphicsState gs, Path path, Matrix ctm) Creates a newClippingPathInfoinstance. -
Method Summary
Modifier and TypeMethodDescriptionGets thePathwhich 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 newClippingPathInfoinstance.- Parameters:
-
gs- thecanvas graphics state -
path- thePathwhich represents current clipping path -
ctm- the currenttransformation matrix
-
-
Method Details
-
getClippingPath
Gets thePathwhich represents current clipping path.- Returns:
-
the
Pathwhich represents current clipping path
-
getCtm
Gets the currenttransformation matrix.- Returns:
-
the current
transformation matrix
-