Skip to content

Commit db022f4

Browse files
authored
Docs: Paper.getArea() (#1405)
1 parent 690970a commit db022f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<pre class="docs-method-signature"><code>paper.getArea()</code></pre>
2+
<p>Return a rectangle representing the area of the paper, in local units (without transformations).</p>
3+
4+
<p>Creates a rectangle object with <code>{ x: 0, y: 0 }</code> and with <code>width</code> and <code>height</code> values according to the <code>paper.getComputedSize()</code> <a href="#dia.Paper.prototype.getComputedSize">function</a>. Then uses the <code>paper.paperToLocalRect()</code> <a href="#dia.Paper.prototype.paperToLocalRect">function</a> to transform that rectangle into local units.</p>

0 commit comments

Comments
 (0)