class DOMRect extends Object with DOMRectReadOnly
A DOMRect describes the size and position of a rectangle.
- Annotations
- @JSType() @native() @JSGlobal()
- Alphabetic
- By Inheritance
- DOMRect
- DOMRectReadOnly
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DOMRect()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bottom: Double
Returns the bottom coordinate value of the DOMRect (usually the same as y + height)
Returns the bottom coordinate value of the DOMRect (usually the same as y + height)
- Definition Classes
- DOMRectReadOnly
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def height: Double
The height of the DOMRect.
The height of the DOMRect.
- Definition Classes
- DOMRectReadOnly
- def height_=(height: Double): Unit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def left: Double
Returns the left coordinate value of the DOMRect (usually the same as x)
Returns the left coordinate value of the DOMRect (usually the same as x)
- Definition Classes
- DOMRectReadOnly
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def right: Double
Returns the right coordinate value of the DOMRect (usually the same as x + width).
Returns the right coordinate value of the DOMRect (usually the same as x + width).
- Definition Classes
- DOMRectReadOnly
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def top: Double
Returns the top coordinate value of the DOMRect (usually the same as y.)
Returns the top coordinate value of the DOMRect (usually the same as y.)
- Definition Classes
- DOMRectReadOnly
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def width: Double
The width of the DOMRect.
The width of the DOMRect.
- Definition Classes
- DOMRectReadOnly
- def width_=(width: Double): Unit
- def x: Double
The x coordinate of the DOMRect's origin.
The x coordinate of the DOMRect's origin.
- Definition Classes
- DOMRectReadOnly
- def x_=(x: Double): Unit
- def y: Double
The y coordinate of the DOMRect's origin.
The y coordinate of the DOMRect's origin.
- Definition Classes
- DOMRectReadOnly
- def y_=(y: Double): Unit