com.itextpdf.text.pdf.parser
Class PathConstructionRenderInfo

java.lang.Object
  extended by com.itextpdf.text.pdf.parser.PathConstructionRenderInfo

public class PathConstructionRenderInfo
extends Object

Contains information relating to construction the current path.

Since:
5.5.6

Field Summary
static int CLOSE
          See Path.closeSubpath()
static int CURVE_123
          See Path.curveTo(float, float, float, float, float, float)
static int CURVE_13
          See Path.curveFromTo(float, float, float, float)
static int CURVE_23
          See Path.curveTo(float, float, float, float)
static int LINETO
          See Path.lineTo(float, float)
static int MOVETO
          See Path.moveTo(float, float)
static int RECT
          See Path.rectangle(float, float, float, float)
 
Constructor Summary
PathConstructionRenderInfo(int operation, List<Float> segmentData, Matrix ctm)
           
PathConstructionRenderInfo(int operation, Matrix ctm)
          See PathConstructionRenderInfo(int, java.util.List, Matrix)
 
Method Summary
 Matrix getCtm()
           
 int getOperation()
           
 List<Float> getSegmentData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOVETO

public static final int MOVETO
See Path.moveTo(float, float)

See Also:
Constant Field Values

LINETO

public static final int LINETO
See Path.lineTo(float, float)

See Also:
Constant Field Values

CURVE_123

public static final int CURVE_123
See Path.curveTo(float, float, float, float, float, float)

See Also:
Constant Field Values

CURVE_23

public static final int CURVE_23
See Path.curveTo(float, float, float, float)

See Also:
Constant Field Values

CURVE_13

public static final int CURVE_13
See Path.curveFromTo(float, float, float, float)

See Also:
Constant Field Values

CLOSE

public static final int CLOSE
See Path.closeSubpath()

See Also:
Constant Field Values

RECT

public static final int RECT
See Path.rectangle(float, float, float, float)

See Also:
Constant Field Values
Constructor Detail

PathConstructionRenderInfo

public PathConstructionRenderInfo(int operation,
                                  List<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)
See PathConstructionRenderInfo(int, java.util.List, Matrix)

Method Detail

getOperation

public int getOperation()
Returns:
construction operation should be performed on the current path.

getSegmentData

public List<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.


Copyright © 2015. All Rights Reserved.