Packages

c

org.scalajs.dom

DOMRect

class DOMRect extends Object with DOMRectReadOnly

A DOMRect describes the size and position of a rectangle.

Annotations
@JSType() @native() @JSGlobal()
Linear Supertypes
DOMRectReadOnly, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DOMRect
  2. DOMRectReadOnly
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DOMRect()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def height: Double

    The height of the DOMRect.

    The height of the DOMRect.

    Definition Classes
    DOMRectReadOnly
  14. def height_=(height: Double): Unit
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  17. 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
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  22. 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
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toLocaleString(): String
    Definition Classes
    Object
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. 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
  27. def valueOf(): Any
    Definition Classes
    Object
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. def width: Double

    The width of the DOMRect.

    The width of the DOMRect.

    Definition Classes
    DOMRectReadOnly
  32. def width_=(width: Double): Unit
  33. def x: Double

    The x coordinate of the DOMRect's origin.

    The x coordinate of the DOMRect's origin.

    Definition Classes
    DOMRectReadOnly
  34. def x_=(x: Double): Unit
  35. def y: Double

    The y coordinate of the DOMRect's origin.

    The y coordinate of the DOMRect's origin.

    Definition Classes
    DOMRectReadOnly
  36. def y_=(y: Double): Unit

Inherited from DOMRectReadOnly

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped