Package de.flapdoodle.kfx.types
Object BoundingBoxes
-
- All Implemented Interfaces:
public class BoundingBoxes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBoundingBoxes.BoundMapping
-
Field Summary
Fields Modifier and Type Field Description public final static BoundingBoxesINSTANCE
-
Method Summary
Modifier and Type Method Description final BoundingBoxempty()final Boundsmerge(Bounds a, Bounds b)final Boundsreduce(List<Bounds> bounds)final Boundsmultiply(Bounds bounds, Double factor)final BoundsreduceBounds(Collection<Node> nodeList)final <T extends Node> BoundsreduceBounds(Collection<T> nodeList, Function1<T, Bounds> boundsOfNode)final ReadOnlyObjectProperty<Bounds>boundsInParentProperty(Node parent, Predicate<Node> filter)final <T extends Node> ReadOnlyObjectProperty<Bounds>reduceBoundsProperty(Node parent, BoundingBoxes.BoundMapping<T> boundMapping)final Boundsaround(Collection<Point2D> points)final AngleAtPoint2DpointAtEdge(Bounds bounds, CardinalDirection direction)final RectanglebindRectangle(ObservableValue<Bounds> wrapperBounds)-
-
Method Detail
-
empty
final BoundingBox empty()
-
merge
final Bounds merge(Bounds a, Bounds b)
-
reduceBounds
final Bounds reduceBounds(Collection<Node> nodeList)
-
reduceBounds
final <T extends Node> Bounds reduceBounds(Collection<T> nodeList, Function1<T, Bounds> boundsOfNode)
-
boundsInParentProperty
final ReadOnlyObjectProperty<Bounds> boundsInParentProperty(Node parent, Predicate<Node> filter)
-
reduceBoundsProperty
final <T extends Node> ReadOnlyObjectProperty<Bounds> reduceBoundsProperty(Node parent, BoundingBoxes.BoundMapping<T> boundMapping)
-
around
final Bounds around(Collection<Point2D> points)
-
pointAtEdge
final AngleAtPoint2D pointAtEdge(Bounds bounds, CardinalDirection direction)
-
bindRectangle
final Rectangle bindRectangle(ObservableValue<Bounds> wrapperBounds)
-
-
-
-