public class CommandParser extends Object
| Constructor and Description |
|---|
CommandParser(CommandFactory commandFactory) |
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.shape.Rectangle |
getBoundingBox(String path)
Returns the bounding box that would result from the given path command.
|
public CommandParser(CommandFactory commandFactory)
public javafx.scene.shape.Rectangle getBoundingBox(String path) throws PathException
path - a String which represents an svg path command chain.Rectangle determining the bounding box.PathException - if any error occurrs during the creation of the bounding box.Copyright © 2017 Saxonia Systems AG. All rights reserved.