OptionalheightHeight. May be negative, which puts y at the bottom edge.
OptionalwidthWidth. May be negative, which puts x at the right edge.
OptionalxHorizontal position of the origin corner. Defaults to 0.
OptionalyVertical position of the origin corner. Defaults to 0.
The fields DOMRect.fromRect reads a rectangle from.