public class PathConstructionRenderInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CLOSE
|
static int |
CURVE_123
|
static int |
CURVE_13
|
static int |
CURVE_23
|
static int |
LINETO
|
static int |
MOVETO
|
static int |
RECT
|
Constructor and Description |
---|
PathConstructionRenderInfo(int operation,
List<Float> segmentData,
Matrix ctm) |
PathConstructionRenderInfo(int operation,
Matrix ctm)
|
public static final int MOVETO
public static final int LINETO
public static final int CURVE_123
public static final int CURVE_23
public static final int CURVE_13
public static final int CLOSE
public static final int RECT
public PathConstructionRenderInfo(int operation, List<Float> segmentData, Matrix ctm)
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.public PathConstructionRenderInfo(int operation, Matrix ctm)
public int getOperation()
public List<Float> getSegmentData()
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.public Matrix getCtm()
Copyright © 2015. All rights reserved.