Not documented.

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

Properties

double bottom
read-only
Point bottomLeft
read-only
Point bottomRight
read-only
int hashCode
read-only
double height
read-only
double left
read-only
read-only
double top
read-only
Point topLeft
read-only
Point topRight
read-only
double width
read-only
double x
read-only
double y
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.