public abstract class AbstractPathParser
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static short |
CLOSE_PATH
Path command type for close-path.
|
static short |
CUBIC_CURVE
Path command type for cubic curve.
|
static short |
ELLIPTICAL_CURVE
Path command type for elliptical arc.
|
static short |
HORIZONTAL_LINE_TO
Path command type for horizontal line-to.
|
static java.util.regex.Pattern |
LETTER
Pattern matching path command letters.
|
static short |
LINE_TO
Path command type for line-to.
|
static short |
MOVE_TO
Path command type for move-to.
|
static short |
PATH_NONE
Path command type when no command has been parsed.
|
static java.util.regex.Pattern |
PLUSMINUS
Pattern matching signed numeric tokens with optional exponent.
|
static short |
QUADRATIC_CURVE
Path command type for quadratic curve.
|
static short |
SMOOTH_CUBIC_CURVE
Path command type for smooth cubic curve.
|
static short |
SMOOTH_QUADRATIC_CURVE
Path command type for smooth quadratic curve.
|
static short |
VERTICAL_LINE_TO
Path command type for vertical line-to.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPathParser()
Protected constructor for subclass initialization.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decomposePart(java.util.List<java.lang.String> list,
java.lang.String token)
Split a token into number parts and add them to the target list.
|
public static final short PATH_NONE
public static final short MOVE_TO
public static final short CLOSE_PATH
public static final short LINE_TO
public static final short HORIZONTAL_LINE_TO
public static final short VERTICAL_LINE_TO
public static final short CUBIC_CURVE
public static final short SMOOTH_CUBIC_CURVE
public static final short QUADRATIC_CURVE
public static final short SMOOTH_QUADRATIC_CURVE
public static final short ELLIPTICAL_CURVE
public static final java.util.regex.Pattern LETTER
public static final java.util.regex.Pattern PLUSMINUS
Copyright © 2021, 2022, 2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence