public class PathUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PathUtils.PathHandler
Callback from the parser
|
| Constructor and Description |
|---|
PathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
parseSVGPath(java.lang.String svgPath,
PathUtils.PathHandler h)
Parse the svg path
|
static java.util.List<javafx.scene.shape.PathElement> |
transformToPathElements(java.lang.String svgPath)
Convert the svgPath into
PathElement list. |
public static void parseSVGPath(java.lang.String svgPath,
PathUtils.PathHandler h)
svgPath - the pathh - the handler for the commandspublic static java.util.List<javafx.scene.shape.PathElement> transformToPathElements(java.lang.String svgPath)
PathElement list.
If smooth paths (S,s,T,t) are used the internal representation is not a 1:1 mapping to the input but is normalized to these 5 absolute commands:
svgPath - the path