DOMRectReadOnly extension type
The DOMRectReadOnly
interface specifies the standard properties (also
used by DOMRect) to define a rectangle whose properties are immutable.
Constructors
- DOMRectReadOnly([num x, num y, num width, num height])
-
factory
Properties
- bottom → num
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → num
-
no setter
- left → num
-
no setter
- right → num
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → num
-
no setter
- width → num
-
no setter
- x → num
-
no setter
- y → num
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → JSObject -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromRect(
[DOMRectInit other]) → DOMRectReadOnly