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
FieldsFields inherited from class 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 AbstractRenderInfo
checkGraphicsState, getGraphicsState, isGraphicsStatePreserved, preserveGraphicsState, releaseGraphicsState
-
Field Details
-
path
-
ctm
-
-
Constructor Details
-
ClippingPathInfo
Creates a newClippingPathInfoinstance.- Parameters:
gs- thecanvas graphics statepath- thePathwhich represents current clipping pathctm- the currenttransformation matrix
-
-
Method Details
-
getClippingPath
-
getCtm
Gets the currenttransformation matrix.- Returns:
- the current
transformation matrix
-