public class PathParser extends AbstractPathParser
CLOSE_PATH, CUBIC_CURVE, ELLIPTICAL_CURVE, HORIZONTAL_LINE_TO, LETTER, LINE_TO, MOVE_TO, PATH_NONE, PLUSMINUS, QUADRATIC_CURVE, SMOOTH_CUBIC_CURVE, SMOOTH_QUADRATIC_CURVE, VERTICAL_LINE_TO
Constructor and Description |
---|
PathParser() |
Modifier and Type | Method and Description |
---|---|
List<javafx.scene.shape.SVGPath> |
parsePathContent(String content,
Viewport viewport,
boolean hasFill)
Parse a path content.
|
decomposePart
public List<javafx.scene.shape.SVGPath> parsePathContent(String content, Viewport viewport, boolean hasFill)
content
- the path contentviewport
- the viewporthasFill
- true if the paths are filledCopyright © 2023. All rights reserved.