Dart API Reference
dart:html
DomRectReadOnly
DomRectReadOnly
class
Annotations
DocsEditable()
DomName('DOMRectReadOnly')
Experimental()
Implements
Rectangle
Constructors
DomRectReadOnly
(
num
x
,
num
y
,
num
width
,
num
height
)
Instance Properties
hashCode
int
read-only
topLeft
Point
read-only
topRight
Point
read-only
bottomRight
Point
read-only
bottomLeft
Point
read-only
bottom
double
read-only
height
double
read-only
left
double
read-only
right
double
read-only
top
double
read-only
width
double
read-only
x
double
read-only
y
double
read-only
Instance Methods
toString
(
) →
String
Returns a string representation of this object.
intersection
(
Rectangle
other
) →
Rectangle
Computes the intersection of this and other.
intersects
(
Rectangle
<
num
>
other
) →
bool
Returns true if this intersects other.
boundingBox
(
Rectangle
other
) →
Rectangle
Returns a new rectangle which completely contains this and other.
containsRectangle
(
Rectangle
<
num
>
another
) →
bool
Tests whether this entirely contains another.
containsPoint
(
Point
<
num
>
another
) →
bool
Tests whether another is inside or along the edges of this.
Operators
operator ==
(
other
) →
bool
The equality operator.