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
- right → double
-
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
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.