Not documented.

Implements
Annotations
  • DocsEditable()
  • DomName('DOMRectReadOnly')
  • Experimental()

Properties

bottom double
read-only

bottomLeft Point
read-only

bottomRight Point
read-only

hashCode int
read-only

height double
read-only

left double
read-only

read-only

top double
read-only

topLeft Point
read-only

topRight Point
read-only

width double
read-only

x double
read-only

y double
read-only

Constructors

DomRectReadOnly(num x, num y, num width, num height)

Operators

operator ==(other) → bool

The equality operator.

Methods

boundingBox(Rectangle other) → Rectangle

Returns a new rectangle which completely contains this and other.

containsPoint(Point<num> another) → bool

Tests whether another is inside or along the edges of this.

containsRectangle(Rectangle<num> another) → bool

Tests whether this entirely contains another.

intersection(Rectangle other) → Rectangle

Computes the intersection of this and other.

intersects(Rectangle<num> other) → bool

Returns true if this intersects other.

toString() → String

Returns a string representation of this object.