public class PathConstructionRenderInfo
extends java.lang.Object
Modifier and Type | Field | 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 | Description |
---|---|
PathConstructionRenderInfo(int operation,
Matrix ctm) |
|
PathConstructionRenderInfo(int operation,
java.util.List<java.lang.Float> segmentData,
Matrix ctm) |
Modifier and Type | Method | Description |
---|---|---|
Matrix |
getCtm() |
|
int |
getOperation() |
|
java.util.List<java.lang.Float> |
getSegmentData() |
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, java.util.List<java.lang.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 java.util.List<java.lang.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 © 1998–2018. All rights reserved.