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 newClippingPathInfo
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
getClippingPath()
Gets thePath
which represents current clipping path.Matrix
getCtm()
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 newClippingPathInfo
instance.- Parameters:
gs
- thecanvas graphics state
path
- thePath
which represents current clipping pathctm
- the currenttransformation matrix
-
-
Method Detail
-
getClippingPath
public Path getClippingPath()
Gets thePath
which represents current clipping path.- Returns:
- the
Path
which represents current clipping path
-
getCtm
public Matrix getCtm()
Gets the currenttransformation matrix
.- Returns:
- the current
transformation matrix
-
-