DOMRectReadOnly

E1018157

DOMRectReadOnly is a read-only Web API interface representing the size and position of a rectangle, commonly used for layout and geometry calculations in the browser.

All labels observed (2)

Label Occurrences
DOMRectReadOnly canonical 3
DOMRectReadOnly() 1

How this entity was disambiguated

Statements (50)

Predicate Object
instanceOf Web API interface
read-only geometry interface
belongsToNamespace global Window scope in browsers
canBeConstructedWith new DOMRectReadOnly(otherDOMRect)
new DOMRectReadOnly(x, y, width, height)
canBeReturnedBy Element.getBoundingClientRect()
Element.getClientRects()
Range.getBoundingClientRect()
Range.getClientRects()
coordinateOrigin top-left corner of the viewport or element context
coordinateSystem CSS pixels
definedInSpecification Geometry Interfaces Module Level 1
hasConstructor DOMRectReadOnly()
linked to: DOMRectReadOnly
hasMethod toJSON()
hasProperty bottom
height
left
right
top
width
x
y
hasStaticMethod fromRect()
isBaseOf DOMRect
isImmutable true
isReadOnly true
methodToJSONReturns JSON representation of the DOMRectReadOnly
partOf Geometry Interfaces Module
propertyType_bottom double
propertyType_height double
propertyType_left double
propertyType_right double
propertyType_top double
propertyType_width double
propertyType_x double
propertyType_y double
providedBy Web APIs
relatedInterface DOMPointReadOnly
DOMQuad
DOMRect
serializationFormat JSON via toJSON()
staticMethodFromRectSignature DOMRectReadOnly.fromRect(other)
supportedIn modern desktop browsers
modern mobile browsers
typicalUsage reading layout box geometry without modifying it
usedFor geometry calculations
layout calculations
representing the size and position of rectangles
usedInContext web browsers
writableProperties none

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

CSSOM View Module definesInterface DOMRectReadOnly
DOMQuad relatedInterface DOMRectReadOnly
DOMQuad getBoundsReturnType DOMRectReadOnly
DOMRectReadOnly hasConstructor DOMRectReadOnly()
linked to: DOMRectReadOnly