getLayoutMetrics

Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

Official doc