Dart SDK
dart:html
DomRectReadOnly
class
DomRectReadOnly
Properties
Constructors
Operators
Methods
Properties
hashCode
topLeft
topRight
bottomRight
bottomLeft
bottom
height
left
right
top
width
x
y
Constructors
DomRectReadOnly
Operators
operator ==
Methods
toString
intersection
intersects
boundingBox
containsRectangle
containsPoint
(Not documented.)
Annotations
DocsEditable()
DomName('DOMRectReadOnly')
Experimental()
Implements
Rectangle
Properties
int
hashCode
read-only
Point
topLeft
read-only
Point
topRight
read-only
Point
bottomRight
read-only
Point
bottomLeft
read-only
double
bottom
read-only
double
height
read-only
double
left
read-only
double
right
read-only
double
top
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
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.