public abstract class BezierCurveCommand extends PathCommand
| Modifier and Type | Method and Description |
|---|---|
abstract javafx.geometry.Point2D |
getAbsoluteEndControlPoint(javafx.geometry.Point2D absoluteCurrentPoint) |
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.
|
abstract javafx.geometry.Point2D |
getAbsoluteStartControlPoint(javafx.geometry.Point2D 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.
|
javafx.geometry.Point2D |
getEndPoint()
Returns the
endPoint. |
addPoints, getDistanceX, getDistanceY, getMinX, getMinY, getValueOrFail, isAbsolutepublic javafx.geometry.Point2D getEndPoint()
endPoint.endPoint.public abstract javafx.geometry.Point2D getAbsoluteStartControlPoint(javafx.geometry.Point2D absoluteCurrentPoint)
throws PathException
PathExceptionpublic abstract javafx.geometry.Point2D getAbsoluteEndControlPoint(javafx.geometry.Point2D absoluteCurrentPoint)
throws PathException
PathExceptionpublic javafx.geometry.Point2D getAbsoluteEndPoint(javafx.geometry.Point2D absoluteCurrentPoint)
throws PathException
PathCommandgetAbsoluteEndPoint in class PathCommandabsoluteCurrentPoint - the absoluteCurrentPoint from which to start.Point2D describing the absoluteCurrentPoint that is reached after this command has been applied.PathException - if the next absoluteCurrentPoint can not be determined.public 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.