java.lang.Object
javafx.geometry.Rectangle2D
com.flexganttfx.view.graphics.ActivityBounds
Activity bounds contain the visual bounds of and the reference to an
activity. They are the result of a call to an activity renderer (see
ActivityRenderer
). They are needed for hitpoint detection, so that
activities can be located based on x and y coordinates (e.g. mouse event
coordinates).- Since:
- 1.0
-
Field Summary
Fields inherited from class javafx.geometry.Rectangle2D
EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionActivityBounds
(ActivityRef<?> activityRef, double x, double y, double width, double height) -
Method Summary
Methods inherited from class javafx.geometry.Rectangle2D
contains, contains, contains, contains, getHeight, getMaxX, getMaxY, getMinX, getMinY, getWidth, intersects, intersects
-
Constructor Details
-
ActivityBounds
-
-
Method Details
-
getActivity
-
getLayer
-
getLineIndex
public final int getLineIndex() -
getRow
-
getActivityRef
-
setPosition
-
getPosition
-
setLayout
-
getLayout
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classRectangle2D
-
equals
- Overrides:
equals
in classRectangle2D
-
toString
- Overrides:
toString
in classRectangle2D
-