- Preparing search index...
- The search index is not available
nx.js
Constructors
constructor
- new DOMRectReadOnly(x?, y?, width?, height?): DOMRectReadOnly
-
Parameters
-
Optional
x: number
-
Optional
y: number
-
Optional
width: number
-
Optional
height: number
Properties
Readonly
height
height: number
Readonly
width
width: number
Readonly
x
x: number
Readonly
y
y: number
Accessors
bottom
- get bottom(): number
-
Returns number
left
- get left(): number
-
Returns number
right
- get right(): number
-
Returns number
top
- get top(): number
-
Returns number
Methods
toJSON
- toJSON(): {
bottom: number;
height: number;
left: number;
right: number;
top: number;
width: number;
x: number;
y: number;
}
-
Returns {
bottom: number;
height: number;
left: number;
right: number;
top: number;
width: number;
x: number;
y: number;
}
-
bottom: number
-
height: number
-
left: number
-
right: number
-
top: number
-
width: number
-
x: number
-
y: number
Static
fromRect
- fromRect(o?): DOMRectReadOnly
-
MDN Reference