DomRectReadOnly class

Inheritance
Implements
Annotations
  • @DocsEditable()
  • @DomName('DOMRectReadOnly')
  • @Experimental()

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

DomRectReadOnly(num x, num y, num width, num height)
factory
DomRectReadOnly.internal_()

Properties

bottomnum
@DocsEditable(), @DomName('DOMRectReadOnly.bottom'), @Experimental(), read-only
bottomLeftPoint
read-only
bottomRightPoint
read-only
hashCodeint
read-only
heightnum
@DocsEditable(), @DomName('DOMRectReadOnly.height'), @Experimental(), read-only
leftnum
@DocsEditable(), @DomName('DOMRectReadOnly.left'), @Experimental(), read-only
topnum
@DocsEditable(), @DomName('DOMRectReadOnly.top'), @Experimental(), read-only
topLeftPoint
read-only
topRightPoint
read-only
widthnum
@DocsEditable(), @DomName('DOMRectReadOnly.width'), @Experimental(), read-only
xnum
@DocsEditable(), @DomName('DOMRectReadOnly.x'), @Experimental(), read-only
ynum
@DocsEditable(), @DomName('DOMRectReadOnly.y'), @Experimental(), read-only
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool

The equality operator.

Methods

boundingBox(Rectangle other) → Rectangle

Returns a new rectangle which completely contains this and other.

containsPoint(Point<num> another) → bool

Tests whether another is inside or along the edges of this.

containsRectangle(Rectangle<num> another) → bool

Tests whether this entirely contains another.

intersection(Rectangle other) → Rectangle

Computes the intersection of this and other.

intersects(Rectangle<num> other) → bool

Returns true if this intersects other.

toString() → String

Returns the result of the JavaScript objects toString method.

noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DomRectReadOnly-class.html