Bounds

scalafx.geometry.Bounds
See theBounds companion object
abstract class Bounds extends SFXDelegate[Bounds]

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[Bounds]
class Object
trait Matchable
class Any
Known subtypes
class BoundingBox

Members list

Value members

Concrete methods

The central x coordinate of this Bounds.

The central x coordinate of this Bounds.

Attributes

Returns

the central x coordinate This call is equivalent to (getMaxX() + getMinX())/2.0.

Since

11

The central y coordinate of this Bounds.

The central y coordinate of this Bounds.

Attributes

Returns

the central y coordinate This call is equivalent to (getMaxY() + getMinY())/2.0.

Since

11

The central z coordinate of this Bounds.

The central z coordinate of this Bounds.

Attributes

Returns

the central z coordinate This call is equivalent to (getMaxZ() + getMinZ())/2.0.

Since

11

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.

Attributes

def contains(x: Double, y: Double): Boolean

Tests if the specified (x, y) coordinates are inside the boundary of Bounds.

Tests if the specified (x, y) coordinates are inside the boundary of Bounds.

Attributes

def contains(x: Double, y: Double, z: Double): Boolean

Tests if the specified (x, y, z) coordinates are inside the boundary of Bounds.

Tests if the specified (x, y, z) coordinates are inside the boundary of Bounds.

Attributes

def contains(x: Double, y: Double, w: Double, h: Double): 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.

Attributes

def contains(x: Double, y: Double, z: Double, w: Double, h: Double, d: Double): 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.

Attributes

Tests if the specified point is inside the boundary of Bounds.

Tests if the specified point is inside the boundary of Bounds.

Attributes

Tests if the specified point is inside the boundary of Bounds.

Tests if the specified point is inside the boundary of Bounds.

Attributes

def depth: Double

The depth of this Bounds.

The depth of this Bounds.

Attributes

def empty: Boolean

Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.

Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.

Attributes

def height: Double

The height of this Bounds.

The height of this Bounds.

Attributes

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.

Attributes

def intersects(x: Double, y: Double, w: Double, h: Double): 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.

Attributes

def intersects(x: Double, y: Double, z: Double, w: Double, h: Double, d: Double): 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.

Attributes

def maxX: Double

The x coordinate of the lower-right corner of this Bounds.

The x coordinate of the lower-right corner of this Bounds.

Attributes

def maxY: Double

The y coordinate of the lower-right corner of this Bounds.

The y coordinate of the lower-right corner of this Bounds.

Attributes

def maxZ: Double

The maximum z coordinate of this Bounds.

The maximum z coordinate of this Bounds.

Attributes

def minX: Double

The x coordinate of the upper-left corner of this Bounds.

The x coordinate of the upper-left corner of this Bounds.

Attributes

def minY: Double

The y coordinate of the upper-left corner of this Bounds.

The y coordinate of the upper-left corner of this Bounds.

Attributes

def minZ: Double

The minimum z coordinate of this Bounds.

The minimum z coordinate of this Bounds.

Attributes

def width: Double

The width of this Bounds.

The width of this Bounds.

Attributes

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: Bounds

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes