getBoundingClientRect method

  1. @DomName('Element.getBoundingClientRect')
  2. @DocsEditable()
Rectangle getBoundingClientRect()

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

Other resources

Source

@DomName('Element.getBoundingClientRect')
@DocsEditable()
Rectangle getBoundingClientRect() => make_dart_rectangle(
    _blink.BlinkElement.instance.getBoundingClientRect_Callback_0_(this));

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Element/getBoundingClientRect.html