public class Path extends Object
Modifier and Type | Field and Description |
---|---|
static int |
C0_MASK
Constant for having only control point C0 in effect.
|
static int |
C1_MASK
Constant for having control point C1 in effect (in addition
to C0).
|
static int |
C1C2_MASK
Constant for having control points C1 and C2 in effect (in addition to C0).
|
static int |
C2_MASK
Constant for having control point C2 in effect (in addition to C0).
|
Constructor and Description |
---|
Path() |
Modifier and Type | Method and Description |
---|---|
static void |
arcTo(GeneralPath path,
double x0,
double y0,
double rx,
double ry,
double xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
double x,
double y) |
static GeneralPath |
parsePath(String path)
Uppercase rules are absolute positions, lowercase are relative.
|
public static final int C0_MASK
public static final int C1_MASK
public static final int C2_MASK
public static final int C1C2_MASK
public static GeneralPath parsePath(String path)
path
- the path string from the XMLpublic static void arcTo(GeneralPath path, double x0, double y0, double rx, double ry, double xAxisRotation, boolean largeArcFlag, boolean sweepFlag, double x, double y)
Revision 4.0.15 / 20220727-0149