Companion

Functions

Link copied to clipboard
fun fromRect(other: DOMRectReadOnly = definedExternally): DOMRect

The fromRect() static method of the DOMRect object creates a new DOMRect object with a given location and dimensions.