mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 12:55:07 +00:00

This marks our entry into the Web::Geometry namespace, based on the "Geometry" spec at https://drafts.fxtf.org/geometry/
15 lines
432 B
Text
15 lines
432 B
Text
interface DOMRect {
|
|
|
|
constructor(optional double x = 0, optional double y = 0, optional double width = 0, optional double height = 0);
|
|
|
|
readonly attribute double x;
|
|
readonly attribute double y;
|
|
readonly attribute double width;
|
|
readonly attribute double height;
|
|
|
|
readonly attribute double top;
|
|
readonly attribute double right;
|
|
readonly attribute double bottom;
|
|
readonly attribute double left;
|
|
|
|
};
|