A DOMRect represents a rectangle.
A DOMRect represents a rectangle.
(bottom this)
Property.
The bottom read-only property of the DOMRectReadOnly interface the bottom coordinate value of the DOMRect. (Has the same value y height, or y if height is negative.)
var recBottom = DOMRect.bottom;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/bottom
Property. The bottom read-only property of the DOMRectReadOnly interface the bottom coordinate value of the DOMRect. (Has the same value y height, or y if height is negative.) `var recBottom = DOMRect.bottom;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/bottom`
Constructor.
The DOMRect() constructor creates a new dom.DOMRect
object.
x The x coordinate of the DOMRect's origin. y The y coordinate of the DOMRect's origin. width The width of the DOMRect. height The height of the DOMRect.
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect
Constructor. The DOMRect() constructor creates a new `dom.DOMRect` object. x The x coordinate of the DOMRect's origin. y The y coordinate of the DOMRect's origin. width The width of the DOMRect. height The height of the DOMRect. See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/DOMRect`
(from-rect this rectangle)
Method.
The fromRect() property of the dom.DOMRectReadOnly
interface
a new DOMRectReadOnly object with a given location and dimensions.
var domRect = DOMRectReadOnly.fromRect(rectangle)
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/fromRect
Method. The fromRect() property of the `dom.DOMRectReadOnly` interface a new DOMRectReadOnly object with a given location and dimensions. `var domRect = DOMRectReadOnly.fromRect(rectangle)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/fromRect`
(height this)
Property.
The height read-only property of the DOMRectReadOnly interface the height of the DOMRect.
var recHeight = DOMRect.height;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/height
Property. The height read-only property of the DOMRectReadOnly interface the height of the DOMRect. `var recHeight = DOMRect.height;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/height`
(left this)
Property.
The left read-only property of the DOMRectReadOnly interface the left coordinate value of the DOMRect. (Has the same value x, or x width if width is negative.)
var recLeft = DOMRect.left;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/left
Property. The left read-only property of the DOMRectReadOnly interface the left coordinate value of the DOMRect. (Has the same value x, or x width if width is negative.) `var recLeft = DOMRect.left;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/left`
(right this)
Property.
The right read-only property of the DOMRectReadOnly interface the right coordinate value of the DOMRect. (Has the same value x width, or x if width is negative.)
var recRight = DOMRect.right;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/right
Property. The right read-only property of the DOMRectReadOnly interface the right coordinate value of the DOMRect. (Has the same value x width, or x if width is negative.) `var recRight = DOMRect.right;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/right`
(set-bottom! this val)
Property.
The bottom read-only property of the DOMRectReadOnly interface the bottom coordinate value of the DOMRect. (Has the same value y height, or y if height is negative.)
var recBottom = DOMRect.bottom;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/bottom
Property. The bottom read-only property of the DOMRectReadOnly interface the bottom coordinate value of the DOMRect. (Has the same value y height, or y if height is negative.) `var recBottom = DOMRect.bottom;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/bottom`
(set-height! this val)
Property.
The height read-only property of the DOMRectReadOnly interface the height of the DOMRect.
var recHeight = DOMRect.height;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/height
Property. The height read-only property of the DOMRectReadOnly interface the height of the DOMRect. `var recHeight = DOMRect.height;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/height`
(set-left! this val)
Property.
The left read-only property of the DOMRectReadOnly interface the left coordinate value of the DOMRect. (Has the same value x, or x width if width is negative.)
var recLeft = DOMRect.left;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/left
Property. The left read-only property of the DOMRectReadOnly interface the left coordinate value of the DOMRect. (Has the same value x, or x width if width is negative.) `var recLeft = DOMRect.left;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/left`
(set-right! this val)
Property.
The right read-only property of the DOMRectReadOnly interface the right coordinate value of the DOMRect. (Has the same value x width, or x if width is negative.)
var recRight = DOMRect.right;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/right
Property. The right read-only property of the DOMRectReadOnly interface the right coordinate value of the DOMRect. (Has the same value x width, or x if width is negative.) `var recRight = DOMRect.right;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/right`
(set-top! this val)
Property.
The top read-only property of the DOMRectReadOnly interface returns top coordinate value of the DOMRect. (Has the same value as y, y height if height is negative.)
var recTop = DOMRect.top;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/top
Property. The top read-only property of the DOMRectReadOnly interface returns top coordinate value of the DOMRect. (Has the same value as y, y height if height is negative.) `var recTop = DOMRect.top;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/top`
(set-width! this val)
Property.
The width read-only property of the DOMRectReadOnly interface the width of the DOMRect.
var recWidth = DOMRect.width;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/width
Property. The width read-only property of the DOMRectReadOnly interface the width of the DOMRect. `var recWidth = DOMRect.width;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/width`
(set-x! this val)
Property.
The x read-only property of the DOMRectReadOnly interface represents x coordinate of the DOMRect's origin.
var recX = DOMRect.x;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/x
Property. The x read-only property of the DOMRectReadOnly interface represents x coordinate of the DOMRect's origin. `var recX = DOMRect.x;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/x`
(set-y! this val)
Property.
The y read-only property of the DOMRectReadOnly interface represents y coordinate of the DOMRect's origin.
var recY = DOMRect.y;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/y
Property. The y read-only property of the DOMRectReadOnly interface represents y coordinate of the DOMRect's origin. `var recY = DOMRect.y;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/y`
(top this)
Property.
The top read-only property of the DOMRectReadOnly interface returns top coordinate value of the DOMRect. (Has the same value as y, y height if height is negative.)
var recTop = DOMRect.top;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/top
Property. The top read-only property of the DOMRectReadOnly interface returns top coordinate value of the DOMRect. (Has the same value as y, y height if height is negative.) `var recTop = DOMRect.top;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/top`
(width this)
Property.
The width read-only property of the DOMRectReadOnly interface the width of the DOMRect.
var recWidth = DOMRect.width;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/width
Property. The width read-only property of the DOMRectReadOnly interface the width of the DOMRect. `var recWidth = DOMRect.width;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/width`
(x this)
Property.
The x read-only property of the DOMRectReadOnly interface represents x coordinate of the DOMRect's origin.
var recX = DOMRect.x;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/x
Property. The x read-only property of the DOMRectReadOnly interface represents x coordinate of the DOMRect's origin. `var recX = DOMRect.x;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/x`
(y this)
Property.
The y read-only property of the DOMRectReadOnly interface represents y coordinate of the DOMRect's origin.
var recY = DOMRect.y;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/y
Property. The y read-only property of the DOMRectReadOnly interface represents y coordinate of the DOMRect's origin. `var recY = DOMRect.y;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/y`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close