Overview
A rectangular bounding box.
Profile: common
Inherited Variables
javafx.geometry.Bounds
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public-init package | depth | Number | 0.0 |
The depth of this |
|||
public-init package | height | Number | 0.0 |
The height of this |
|||
public-read | maxX | Number | minX + width |
The x coordinate of the lower-right corner of this |
|||
public-read | maxY | Number | minY + height |
The y coordinate of the lower-right corner of this |
|||
public-read | maxZ | Number | minZ + depth |
The maximum z coordinate of this |
|||
public-init package | minX | Number | 0.0 |
The x coordinate of the upper-left corner of this |
|||
public-init package | minY | Number | 0.0 |
The y coordinate of the upper-left corner of this |
|||
public-init package | minZ | Number | 0.0 |
The minimum z coordinate of this |
|||
public-init package | width | Number | 0.0 |
The width of this |
Function Summary
- public contains(p: Point2D) : Boolean
- public contains(x: Number, y: Number) : Boolean
- public contains(b: Bounds) : Boolean
- public contains(x: Number, y: Number, w: Number, h: Number) : Boolean
- public equals(obj: java.lang.Object) : Boolean
- public hashCode() : Integer
- public intersects(b: Bounds) : Boolean
- public intersects(x: Number, y: Number, w: Number, h: Number) : Boolean
- public toString() : java.lang.String
-
Returns a string representation of this
BoundingBox
.Returns a string representation of this
BoundingBox
. This method is intended to be used only for informational purposes. The content and format of the returned string might vary between implementations. The returned string might be empty but cannot benull
.-
Returns
- String
Profile: common
Inherited Functions
javafx.geometry.Bounds
- public abstract contains(p: Point2D) : Boolean
- public abstract contains(x: Number, y: Number) : Boolean
-
Tests if the specified
(x, y)
coordinates are inside the boundary ofBounds
.Tests if the specified
(x, y)
coordinates are inside the boundary ofBounds
.-
Parameters
- x
- the specified x coordinate to be tested
- y
- the specified y coordinate to be tested
-
Returns
- Boolean
-
true if the specified
(x, y)
coordinates are inside the boundary of thisBounds
; false otherwise.
Profile: common
- public abstract contains(b: Bounds) : Boolean
-
Tests if the interior of this
Bounds
entirely contains the specified Bounds,b
.Tests if the interior of this
Bounds
entirely contains the specified Bounds,b
.-
Parameters
- b
- The specified Bounds
-
Returns
- Boolean
-
true if the specified Bounds,
b
, is inside the boundary of thisBounds
; false otherwise.
Profile: common
- public abstract contains(x: Number, y: Number, w: Number, h: Number) : Boolean
-
Tests if the interior of this
Bounds
entirely contains the specified rectangular area.Tests if the interior of this
Bounds
entirely contains the specified rectangular area.-
Parameters
- x
- the x coordinate of the upper-left corner of the specified rectangular area
- y
- the y coordinate of the upper-left corner of the specified rectangular area
- w
- the width of the specified rectangular area
- h
- the height of the specified rectangular area
-
Returns
- Boolean
-
true if the interior of this
Bounds
entirely contains the specified rectangular area; false otherwise.
Profile: common
- public abstract intersects(b: Bounds) : Boolean
-
Tests if the interior of this
Bounds
intersects the interior of a specified Bounds,b
.Tests if the interior of this
Bounds
intersects the interior of a specified Bounds,b
.-
Parameters
- b
- The specified Bounds
-
Returns
- Boolean
-
true if the interior of this
Bounds
and the interior of the specified Bounds,b
, intersect.
Profile: common
- public abstract intersects(x: Number, y: Number, w: Number, h: Number) : Boolean
-
Tests if the interior of this
Bounds
intersects the interior of a specified rectangular area.Tests if the interior of this
Bounds
intersects the interior of a specified rectangular area.-
Parameters
- x
- the x coordinate of the upper-left corner of the specified rectangular area
- y
- the y coordinate of the upper-left corner of the specified rectangular area
- w
- the width of the specified rectangular area
- h
- the height of the specified rectangular area
-
Returns
- Boolean
-
true if the interior of this
Bounds
and the interior of the rectangular area intersect.
Profile: common