public class CloseCommand extends PathCommand
| Modifier and Type | Method and Description |
|---|---|
javafx.geometry.Point2D |
getAbsoluteEndPoint(javafx.geometry.Point2D absoluteCurrentPoint)
Gets the next possible absoluteCurrentPoint based on the internal state of the command and the provided absoluteCurrentPoint.
|
Optional<javafx.scene.shape.Rectangle> |
getBoundingBox(javafx.geometry.Point2D absoluteCurrentPoint)
Gets the bounding box which would result of using the given absoluteCurrentPoint as the starting point and then applying the internal state of the command.
|
addPoints, getDistanceX, getDistanceY, getMinX, getMinY, getValueOrFail, isAbsolutepublic final javafx.geometry.Point2D getAbsoluteEndPoint(javafx.geometry.Point2D absoluteCurrentPoint)
PathCommandgetAbsoluteEndPoint in class PathCommandabsoluteCurrentPoint - the absoluteCurrentPoint from which to start.Point2D describing the absoluteCurrentPoint that is reached after this command has been applied.public final Optional<javafx.scene.shape.Rectangle> getBoundingBox(javafx.geometry.Point2D absoluteCurrentPoint) throws PathException
PathCommandgetBoundingBox in class PathCommandabsoluteCurrentPoint - the absoluteCurrentPoint to be use as the starting point.Optional describing the resulting bounding box.PathException - if the bounding box can not be determined.Copyright © 2017 Saxonia Systems AG. All rights reserved.