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
public class ClippingPathInfo extends AbstractRenderInfo
Represents the clipping path data.
-
-
Constructor Summary
Constructors Constructor Description ClippingPathInfo(CanvasGraphicsState gs, Path path, Matrix ctm)Creates a newClippingPathInfoinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathgetClippingPath()Gets thePathwhich represents current clipping path.MatrixgetCtm()Gets the currenttransformation matrix.-
Methods inherited from class com.itextpdf.kernel.pdf.canvas.parser.data.AbstractRenderInfo
checkGraphicsState, getGraphicsState, isGraphicsStatePreserved, preserveGraphicsState, releaseGraphicsState
-
-
-
-
Constructor Detail
-
ClippingPathInfo
public ClippingPathInfo(CanvasGraphicsState gs, Path path, Matrix ctm)
Creates a newClippingPathInfoinstance.- Parameters:
gs- thecanvas graphics statepath- thePathwhich represents current clipping pathctm- the currenttransformation matrix
-
-
Method Detail
-
getClippingPath
public Path getClippingPath()
Gets thePathwhich represents current clipping path.- Returns:
- the
Pathwhich represents current clipping path
-
getCtm
public Matrix getCtm()
Gets the currenttransformation matrix.- Returns:
- the current
transformation matrix
-
-