public class PathPaintingRenderInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EVEN_ODD_RULE
The even-odd rule determines whether a point is inside a path by drawing a ray from that point in any direction and simply counting the number of path segments that cross the ray, regardless of direction.
|
static int |
FILL
Value specifying fill operation to perform on the current path.
|
static int |
NO_OP
End the path object without filling or stroking it.
|
static int |
NONZERO_WINDING_RULE
The nonzero winding number rule determines whether a given point is inside a path by conceptually drawing a ray from that point to infinity in any direction and then examining the places where a segment of the path crosses the ray.
|
static int |
STROKE
Value specifying stroke operation to perform on the current path.
|
Constructor and Description |
---|
PathPaintingRenderInfo(int operation, GraphicsState gs)
If the operation is NO_OP then the rule is ignored, otherwise NONZERO_WINDING_RULE is used by default.
|
PathPaintingRenderInfo(int operation, int rule, GraphicsState gs) |
Modifier and Type | Method and Description |
---|---|
Matrix |
getCtm() |
int |
getLineCapStyle() |
LineDashPattern |
getLineDashPattern() |
int |
getLineJoinStyle() |
float |
getLineWidth() |
float |
getMiterLimit() |
int |
getOperation() |
int |
getRule() |
public static final int NONZERO_WINDING_RULE
public static final int EVEN_ODD_RULE
public static final int NO_OP
public static final int STROKE
public static final int FILL
public PathPaintingRenderInfo(int operation, int rule, GraphicsState gs)
operation
- One of the possible combinations of STROKE
and FILL
values or NO_OP
rule
- Either NONZERO_WINDING_RULE
or EVEN_ODD_RULE
.
gs
- The graphics state.
public PathPaintingRenderInfo(int operation, GraphicsState gs)
NO_OP
then the rule is ignored, otherwise NONZERO_WINDING_RULE
is used by default. See PathPaintingRenderInfo(int, int, GraphicsState)
public int getOperation()
public int getRule()
NONZERO_WINDING_RULE
or EVEN_ODD_RULE
.
public Matrix getCtm()
public float getLineWidth()
public int getLineCapStyle()
public int getLineJoinStyle()
public float getMiterLimit()
public LineDashPattern getLineDashPattern()
Copyright © 1998–2019. All rights reserved.