`containerEl`に対して[[Element.getBoundingClientRect]]を呼び出す。 ```ts const el = this.app.workspace.getActiveViewOfType(MarkdownView)?.containerEl!; const { height, width, x, y } = el.getBoundingClientRect(); ``` | プロパティ | 説明 | | ---------- | -------------------------------- | | height | Leafの高さ | | width | Leafの幅 | | x | Window左端からLeaf左端までの長さ | | y | Window上端からLeaf上端までの長さ |