DOMRect
Module: JavaScript DOM API
DOM Rectangle object.
#include <DOMRect.idl>
Inherits from DOMRectReadOnly
Public Attributes
| Name | |
|---|---|
| attribute double | x |
| attribute double | y |
| attribute double | width |
| attribute double | height |
Additional inherited members
Public Attributes inherited from DOMRectReadOnly
| Name | |
|---|---|
| readonly attribute double | top |
| readonly attribute double | right |
| readonly attribute double | bottom |
| readonly attribute double | left |
Public Attributes Documentation
variable x
attribute double x;
variable y
attribute double y;
variable width
attribute double width;
variable height
attribute double height;