UNPKG

@mapgis/webclient-common

Version:

mapgis ES6 format for igserver

1,103 lines (333 loc) 15.5 kB
<header id="page-title" class="page-title"> <span class="page-title-main">类名</span> <span class="page-title-sub">SketchStage</span> </header> <section> <article> <div class="container-overview"> <div class='vertical-section'> <div class="members"> <div class="member"> <h4 class="name" id="SketchStage"> <a class="href-link" href="#SketchStage">#</a> <span class="code-name" id="SketchStage" style="font-size:30px"> new SketchStage<span class="signature">(options)</span> </span> </h4> <div class="description"> <p>草图图形集合</p> </div> <h4>参数</h4> <div class="table-container"> <table class="params table"> <thead> <tr> <th>名称</th> <th>类型</th> <th class="last">描述</th> </tr> </thead> <tbody> <tr class="deep-level-0"> <td class="name" id="options"><code>options</code></td> <td class="type"> <span class="param-type">Object</span> </td> <td class="description last"><p>构造参数</p></td> </tr> <tr class="deep-level-1"> <td class="name" id="view"><code>view</code></td> <td class="type"> <span class="param-type"><a link="MapView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapView" MapView.html>MapView</a></span> | <span class="param-type"><a link="SceneView.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SceneView" SceneView.html>SceneView</a></span> </td> <td class="description last"><p>地图视图对象</p></td> </tr> <tr class="deep-level-1"> <td class="name" id="layer"><code>layer</code></td> <td class="type"> <span class="param-type"><a link="GraphicsLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="GraphicsLayer" GraphicsLayer.html>GraphicsLayer</a></span> </td> <td class="description last"><p>草图图层管对象</p></td> </tr> <tr class="deep-level-1"> <td class="name" id="sketchStyle"><code>sketchStyle</code></td> <td class="type"> <span class="param-type"><a link="SketchStyle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SketchStyle" SketchStyle.html>SketchStyle</a></span> </td> <td class="description last"><p>草图符号</p></td> </tr> <tr class="deep-level-1"> <td class="name" id="_hitTestEvent"><code>_hitTestEvent</code></td> <td class="type"> <span class="param-type">function</span> </td> <td class="description last"><p>草图拾取事件</p></td> </tr> </tbody> </table> </div> <dl class="details"> </dl> </div> </div> </div> </div> <div class='vertical-section'> <h3 id='member'>成员变量</h3> <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4> <div class="table-container"> <table class="params table"> <thead> <tr> <th>名称</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr class="deep-level-0"> <td class="name"><code><a href="#currentVertexIndex">currentVertexIndex</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>当前顶点序号</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#midVertexGraphics">midVertexGraphics</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>草图中点实图形</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#movingLineGraphics">movingLineGraphics</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>草图正移动线图形</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#selectBoxGraphics">selectBoxGraphics</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>选中草图时外包盒</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#selectBoxVertexGraphics">selectBoxVertexGraphics</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>选中草图时外包盒顶点</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#snapGraphics">snapGraphics</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>捕获时的图形</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#vertexGraphics">vertexGraphics</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>草图顶点图形</p></code></td> </tr> </tbody> </table> </div> <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4> <div class="members"> <div class="member"> <h4 class="name" id="currentVertexIndex"> <a class="href-link" href="#currentVertexIndex">#</a> <span class="code-name"> currentVertexIndex </span> </h4> <div class="description"> <p>当前顶点序号</p> </div> <dl class="details"> </dl> </div> <div class="member"> <h4 class="name" id="midVertexGraphics"> <a class="href-link" href="#midVertexGraphics">#</a> <span class="code-name"> midVertexGraphics </span> </h4> <div class="description"> <p>草图中点实图形</p> </div> <dl class="details"> </dl> </div> <div class="member"> <h4 class="name" id="movingLineGraphics"> <a class="href-link" href="#movingLineGraphics">#</a> <span class="code-name"> movingLineGraphics </span> </h4> <div class="description"> <p>草图正移动线图形</p> </div> <dl class="details"> </dl> </div> <div class="member"> <h4 class="name" id="selectBoxGraphics"> <a class="href-link" href="#selectBoxGraphics">#</a> <span class="code-name"> selectBoxGraphics </span> </h4> <div class="description"> <p>选中草图时外包盒</p> </div> <dl class="details"> </dl> </div> <div class="member"> <h4 class="name" id="selectBoxVertexGraphics"> <a class="href-link" href="#selectBoxVertexGraphics">#</a> <span class="code-name"> selectBoxVertexGraphics </span> </h4> <div class="description"> <p>选中草图时外包盒顶点</p> </div> <dl class="details"> </dl> </div> <div class="member"> <h4 class="name" id="snapGraphics"> <a class="href-link" href="#snapGraphics">#</a> <span class="code-name"> snapGraphics </span> </h4> <div class="description"> <p>捕获时的图形</p> </div> <dl class="details"> </dl> </div> <div class="member"> <h4 class="name" id="vertexGraphics"> <a class="href-link" href="#vertexGraphics">#</a> <span class="code-name"> vertexGraphics </span> </h4> <div class="description"> <p>草图顶点图形</p> </div> <dl class="details"> </dl> </div> </div> </div> <div class='vertical-section'> <h3 id='function'>方法</h3> <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4> <div class="members"> <div class="table-container"> <table class="params table"> <thead> <tr> <th>名称</th> <th>返回值类型</th> <th>描述</th> </tr> </thead> <tbody> <tr class="deep-level-0"> <td class="name"><code><a href="#clone">clone</a></code></td> <td class="name"> <code> <span class="param-type"><a link="Feature.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Feature" Feature.html>Feature</a></span> </code> </td> <td class="name"><code><p>克隆并返回新要素<a id='clone'></a></p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#toJSON">toJSON</a></code></td> <td class="name"> <code> <span class="param-type">Object</span> </code> </td> <td class="name"><code><p>导出一个JSON对像<a id='toJSON'></a></p></code></td> </tr> </tbody> </table> </div> <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4> <div class="member"> <h4 class="name" id="clone"> <a class="href-link" href="#clone">#</a> <span class="code-name" id="clone" style="font-size:30px"> clone<span class="signature">()</span> </span> </h4> <div class="description"> <p>克隆并返回新要素<a id='clone'></a></p> </div> <dl class="details"> </dl> <div class='columns method-parameter'> <div class="column is-2"><label>返回值</label></div> <div class="column is-10"> <div class="columns"> <div class='param-desc column is-7'><p>克隆后的新要素</p></div> <div class='column is-5 has-text-left'> <label>类型: </label> <span class="param-type"><a link="Feature.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Feature" Feature.html>Feature</a></span> </div> </div> </div> </div> </div> <div class="member"> <h4 class="name" id="toJSON"> <a class="href-link" href="#toJSON">#</a> <span class="code-name" id="toJSON" style="font-size:30px"> toJSON<span class="signature">()</span> </span> </h4> <div class="description"> <p>导出一个JSON对像<a id='toJSON'></a></p> </div> <dl class="details"> </dl> <div class='columns method-parameter'> <div class="column is-2"><label>返回值</label></div> <div class="column is-10"> <div class="columns"> <div class='param-desc column is-7'><p>JSON对像</p></div> <div class='column is-5 has-text-left'> <label>类型: </label> <span class="param-type">Object</span> </div> </div> </div> </div> </div> </div> </div> </article> </section>