Rectangle getBoundingClientRect( )

Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.

Other resources

Source

/**
 * Returns the smallest bounding rectangle that encompasses this element's
 * padding, scrollbar, and border.
 *
 * ## Other resources
 *
 * * [Element.getBoundingClientRect]
 * (https://developer.mozilla.org/en-US/docs/Web/API/Element.getBoundingClientRect)
 * from MDN.
 * * [The getBoundingClientRect() method]
 * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods)
 * from W3C.
 */
@DomName('Element.getBoundingClientRect')
@DocsEditable()
Rectangle getBoundingClientRect() => make_dart_rectangle(_blink.BlinkElement.instance.getBoundingClientRect_Callback_0_(unwrap_jso(this)));