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
- double right
-
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
andother
. -
containsPoint(
Point<num> another) → bool -
Tests whether
another
is inside or along the edges ofthis
. -
containsRectangle(
Rectangle<num> another) → bool -
Tests whether
this
entirely containsanother
. -
intersection(
Rectangle other) → Rectangle -
Computes the intersection of
this
andother
. -
intersects(
Rectangle<num> other) → bool -
Returns true if
this
intersectsother
. -
toString(
) → String - Returns a string representation of this object.