diff options
Diffstat (limited to 'files/he/mozilla/javascript_code_modules/geometry.jsm/index.html')
| -rw-r--r-- | files/he/mozilla/javascript_code_modules/geometry.jsm/index.html | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/files/he/mozilla/javascript_code_modules/geometry.jsm/index.html b/files/he/mozilla/javascript_code_modules/geometry.jsm/index.html deleted file mode 100644 index 2e478771f2..0000000000 --- a/files/he/mozilla/javascript_code_modules/geometry.jsm/index.html +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Geometry.jsm -slug: Mozilla/JavaScript_code_modules/Geometry.jsm -tags: - - Geometry - - Modules - - NeedsTranslation - - TopicStub -translation_of: Mozilla/JavaScript_code_modules/Geometry.jsm ---- -<p>{{ gecko_minversion_header("2.0") }}</p> -<p>The <code>Geometry.jsm</code> JavaScript code module provides routines for performing common geometry operations on points and rectangles. It exports two classes: <code>Point</code> and <code>Rect</code>.</p> -<p>To use these routines, you first need to import the code module into your JavaScript scope:</p> -<pre class="eval"><span class="nowiki">Components.utils.import("resource://gre/modules/Geometry.jsm");</span> -</pre> -<p>Once you've imported the module, you can then use the <a href="/en/JavaScript_code_modules/Geometry.jsm/Point" title="en/JavaScript code modules/Geometry.jsm/Point"><code>Point</code></a> and <a href="/en/JavaScript_code_modules/Geometry.jsm/Rect" title="https://developer.mozilla.org/en/JavaScript_code_modules/Geometry.jsm/Rect"><code>Rect</code></a> classes.</p> -<div class="note"><strong>Note:</strong> Although this module is usable from mobile, and is present in Firefox 4, it's currently not used in Firefox 4 and attempting to use it may produce unreliable results there.</div> -<h2 id="See_also">See also</h2> -<ul> <li><a href="/en/JavaScript_code_modules/Using" class="internal" title="en/JavaScript code modules/Using JavaScript code modules">Using JavaScript code modules</a></li> <li><a href="/en/JavaScript_code_modules" class="internal" title="en/JavaScript code modules">JavaScript code modules</a></li> <li><a href="/en/Components.utils.import" class="internal" title="en/Components.utils.import"><code>Components.utils.import</code></a></li> -</ul> |
