The DOMRectReadOnly interface specifies the standard properties
by web.dom.DOMRect
to define a rectangle.
The DOMRectReadOnly interface specifies the standard properties by `web.dom.DOMRect` to define 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 DOMRectReadOnly() constructor creates a new web.dom.DOMRectReadOnly
object.
x The x coordinate of the DOMRectReadOnly's origin. y The y coordinate of the DOMRectReadOnly's origin. width The width of the DOMRectReadOnly. height The height of the DOMRectReadOnly.
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly
Constructor. The DOMRectReadOnly() constructor creates a new `web.dom.DOMRectReadOnly` object. x The x coordinate of the DOMRectReadOnly's origin. y The y coordinate of the DOMRectReadOnly's origin. width The width of the DOMRectReadOnly. height The height of the DOMRectReadOnly. See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMRectReadOnly/DOMRectReadOnly`
(from-rect this rectangle)
Method.
The fromRect() property of the web.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 `web.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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close