Rectangle2D

class Rectangle2D(val delegate: Rectangle2D) extends SFXDelegate[Rectangle2D]
Companion
object
trait SFXDelegate[Rectangle2D]
class Object
trait Matchable
class Any

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.

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.

def contains(p: Point2D): Boolean

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

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

def contains(r: Rectangle2D): Boolean

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.

def height: Double

The height of this Rectangle2D.

The height of this Rectangle2D.

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.

def intersects(r: Rectangle2D): Boolean

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.

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.

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.

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.

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.

def width: Double

The width of this Rectangle2D.

The width of this Rectangle2D.

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: Rectangle2D