⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 measuring.htm

📁 applet在線上繪圖,允許在瀏覽器上繪圖,最後儲存成各式的圖檔
💻 HTM
字号:
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <title>Measuring lengths and areas</title>
<link REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</head>

<body>
<a href="./index.htm">CONTENTS</a>

<h3>Measuring lengths and areas.</h3>

<p>If you draw a curve, line, polygon, or another shape J-Painter can show
their length or dimension, and area (which is applicable). The values are displayed
in the browser's status line. To activate this function set the DrawCanvas
parameter <code>measure_show</code>
<pre>
    &lt;param name="measure_show" value="true"&gt;
</pre>

By default, the values are displayed in pixles. If you want to see them
in other units, such as: inch, foot, or mile, you have to define unit/pixel ratio
using the parameter <code>measure_scale</code>.
<br />Example:
<pre>
    &lt;param name="measure_scale" value="0.2" &gt;
</pre>

If you want to see specific number of digits and the unit name
use the parameter <code>measure_scale</code>.
<br />Example:
<pre>
    &lt;param name="measure_format" value="#.# ft"&gt;
</pre>

You can specify different formats for linear and areal values separating them by semicolon.
The first format is used for linear values, the second one for areal values.
<br />Example:
<pre>
    &lt;param name="measure_format" value="#.# ft; #.# sq'.'ft "&gt;
</pre>

If only one format is specified it's used for both linear and areal values.

</p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -