DOMRectReadOnly

@native @JSType
trait DOMRectReadOnly extends Object
class Object
trait Any
class Object
trait Matchable
class Any
class DOMRect

Value members

Concrete methods

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)

def height: Double

The height of the DOMRect.

The height of the DOMRect.

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)

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).

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.)

def width: Double

The width of the DOMRect.

The width of the DOMRect.

def x: Double

The x coordinate of the DOMRect's origin.

The x coordinate of the DOMRect's origin.

def y: Double

The y coordinate of the DOMRect's origin.

The y coordinate of the DOMRect's origin.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object