Package com.itextpdf.text.pdf.parser
Class PathConstructionRenderInfo
- java.lang.Object
-
- com.itextpdf.text.pdf.parser.PathConstructionRenderInfo
-
public class PathConstructionRenderInfo extends java.lang.Object
Contains information relating to construction the current path.- Since:
- 5.5.6
-
-
Constructor Summary
Constructors Constructor Description PathConstructionRenderInfo(int operation, Matrix ctm)
PathConstructionRenderInfo(int operation, java.util.List<java.lang.Float> segmentData, Matrix ctm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Matrix
getCtm()
int
getOperation()
java.util.List<java.lang.Float>
getSegmentData()
-
-
-
Field Detail
-
MOVETO
public static final int MOVETO
- See Also:
- Constant Field Values
-
LINETO
public static final int LINETO
- See Also:
- Constant Field Values
-
CURVE_123
public static final int CURVE_123
- See Also:
- Constant Field Values
-
CURVE_23
public static final int CURVE_23
- See Also:
- Constant Field Values
-
CURVE_13
public static final int CURVE_13
- See Also:
- Constant Field Values
-
CLOSE
public static final int CLOSE
- See Also:
- Constant Field Values
-
RECT
public static final int RECT
- See Also:
- Constant Field Values
-
operation
private int operation
-
segmentData
private java.util.List<java.lang.Float> segmentData
-
ctm
private Matrix ctm
-
-
Constructor Detail
-
PathConstructionRenderInfo
public PathConstructionRenderInfo(int operation, java.util.List<java.lang.Float> segmentData, Matrix ctm)
- Parameters:
operation
- Indicates which path-construction operation should be performed.segmentData
- Contains data of a new segment being added to the current path. E.g. x, y, w, h for rectangle; x, y for line etc.ctm
- Current transformation matrix.
-
PathConstructionRenderInfo
public PathConstructionRenderInfo(int operation, Matrix ctm)
-
-
Method Detail
-
getOperation
public int getOperation()
- Returns:
- construction operation should be performed on the current path.
-
getSegmentData
public java.util.List<java.lang.Float> getSegmentData()
- Returns:
List
containing data of a new segment (E.g. x, y, w, h for rectangle; x, y for line etc.) if the specified operation relates to adding the segment to the current path,null
otherwise.
-
getCtm
public Matrix getCtm()
- Returns:
- Current transformation matrix.
-
-