Rectangle2D

scalafx.geometry.Rectangle2D
See theRectangle2D companion object
class Rectangle2D(val delegate: Rectangle2D) extends SFXDelegate[Rectangle2D]

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[Rectangle2D]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(minX: Double, minY: Double, width: Double, height: Double)

Concrete methods

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

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

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

Attributes

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

Tests if the interior of this Rectangle2D entirely contains the specified rectangular area.

Tests if the interior of this Rectangle2D entirely contains the specified rectangular area.

Attributes

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

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

Attributes

Tests if the interior of this Rectangle2D entirely contains the specified Rectangle2D, r.

Tests if the interior of this Rectangle2D entirely contains the specified Rectangle2D, r.

Attributes

def height: Double

The height of this Rectangle2D.

The height of this Rectangle2D.

Attributes

def intersects(x: Double, y: Double, w: Double, h: Double): Boolean

Tests if the interior of this Rectangle2D intersects the interior of a specified rectangular area.

Tests if the interior of this Rectangle2D intersects the interior of a specified rectangular area.

Attributes

Tests if the interior of this Rectangle2D intersects the interior of a specified Rectangle2D, r.

Tests if the interior of this Rectangle2D intersects the interior of a specified Rectangle2D, r.

Attributes

def maxX: Double

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

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

Attributes

def maxY: Double

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

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

Attributes

def minX: Double

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

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

Attributes

def minY: Double

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

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

Attributes

def width: Double

The width of this Rectangle2D.

The width of this Rectangle2D.

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: Rectangle2D

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes