Package com.itextpdf.text.pdf.parser
Class PathConstructionRenderInfo
java.lang.Object
com.itextpdf.text.pdf.parser.PathConstructionRenderInfo
Contains information relating to construction the current path.
- Since:
- 5.5.6
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private Matrix
static final int
static final int
static final int
static final int
static final int
private int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionPathConstructionRenderInfo
(int operation, Matrix ctm) PathConstructionRenderInfo
(int operation, List<Float> segmentData, Matrix ctm) -
Method Summary
-
Field Details
-
MOVETO
public static final int MOVETO- See Also:
-
LINETO
public static final int LINETO- See Also:
-
CURVE_123
public static final int CURVE_123- See Also:
-
CURVE_23
public static final int CURVE_23- See Also:
-
CURVE_13
public static final int CURVE_13- See Also:
-
CLOSE
public static final int CLOSE- See Also:
-
RECT
public static final int RECT- See Also:
-
operation
private int operation -
segmentData
-
ctm
-
-
Constructor Details
-
PathConstructionRenderInfo
- 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
-
-
Method Details
-
getOperation
public int getOperation()- Returns:
- construction operation should be performed on the current path.
-
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
- Returns:
- Current transformation matrix.
-