UNPKG

@mapgis/webclient-common

Version:

mapgis ES6 format for igserver

4,785 lines 71.1 kB
<header id="page-title" class="page-title">
    
        <span class="page-title-main">类名</span>
        <span class="page-title-sub">MapGISTextSymbol</span>
    
</header>





<section>

<article>
    <div class="container-overview">
    
        
            <div class='vertical-section'>
                <div class="members">
                    <div class="member">
                        


    
    <h4 class="name" id="MapGISTextSymbol">
        <a class="href-link" href="#MapGISTextSymbol">#</a>
        
        <span class="code-name" id="MapGISTextSymbol" style="font-size:30px">
            
                new MapGISTextSymbol<span class="signature">(options)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>文本符号,支持点几何对象,参考示例:<a href='#new-MapGISTextSymbol'>[创建文本样式]</a>
<br><br>[ES5引入方式]:<br/>
zondy.symbol.MapGISTextSymbol() <br/>
[ES6引入方式]:<br/>
import { MapGISTextSymbol } from &quot;@mapgis/webclient-common&quot; <br/>
<br/></p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            
            <th style="min-width: 100px;">默认值</th>
            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>options</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Object
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>构造参数</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>backgroundPadding</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;Number>
    
</span>



  
  </td>

  
      <td class="default">
      
          [5,5]
      
      </td>
  

  <td class="description last"><p>背景内边距</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>backgroundImage</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Image
    
</span>
|

<span class="param-type">
    
             function
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>背景图片样式,设置时会覆盖backgroundColor</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textDecorationUnderlineColor</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             String
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>文字下划线颜色,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textDecorationUnderlineWidth</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>文字下划线宽度,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textDecorationThroughlineColor</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             String
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>文字删除线颜色,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textDecorationThroughlineWidth</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>文字删除线宽度,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textShadowOffsetX</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
          0
      
      </td>
  

  <td class="description last"><p>文字阴影横轴偏移</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textShadowOffsetY</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
          0
      
      </td>
  

  <td class="description last"><p>文字阴影纵轴偏移</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textShadowBlur</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
          1
      
      </td>
  

  <td class="description last"><p>文字阴影模糊度</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textShadowColor</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             String
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>文字阴影颜色</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>letterSpacing</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
          0
      
      </td>
  

  <td class="description last"><p>文字间距</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>lineMaxNum</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
          3
      
      </td>
  

  <td class="description last"><p>文字最大行数</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textWraps</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Boolean
    
</span>



  
  </td>

  
      <td class="default">
      
          false
      
      </td>
  

  <td class="description last"><p>是否换行</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textExtraIcon</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Image
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>文字额外符号图标。测试接口,后续可能会改动。</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textExtraIconAnchor</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             String
    
</span>



  
  </td>

  
      <td class="default">
      
          'left'
      
      </td>
  

  <td class="description last"><p>文字额外图标方位,可选&quot;left&quot; &quot;right&quot; &quot;top&quot; &quot;bottom&quot;。测试接口,后续可能会改动。</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>textExtraIconSize</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Number
    
</span>



  
  </td>

  
      <td class="default">
      
          14
      
      </td>
  

  <td class="description last"><p>文字额外图标大小,单位像素。测试接口,后续可能会改动。</p></td>
</tr>


  



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





















<p class="summary"><h5>支持如下方法:</h5>
<a href='#fromJSON'>[1、将JSON里的数据导入,并返回一个新的TextSymbol对象]</a><br/>
<a href='#toJSON'>[2、导出为JSON对象]</a><br/>
<a href='#clone'>[3、克隆并返回新的符号对象]</a><br/></p>



    <h5>示例</h5>
    
        <p class="code-caption"><h7 id='new-MapGISTextSymbol'>创建文本样式</h7></p>
    
    
        <pre class="prettyprint"><code>// ES5引入方式
const { MapGISTextSymbol } = zondy.symbol
const { MapGISTextSymbol, Color } = zondy
// ES6引入方式
import { MapGISTextSymbol, Color } from "@mapgis/webclient-common"
const textSymbol = new MapGISTextSymbol({
  // 字体颜色
  color: new Color(252, 100, 22, 1),
  // 字体内容,如果是服务端数据,可不填
  text: "默认文字",
  // 字体样式
  font: {
    // 字体
    family: "微软雅黑",
    // 文字大小,单位像素
    size: 30,
    // 文字是否为斜体,正常模式
    style: "normal",
    // 文字粗细
    weight: "normal"
  }
})</code></pre>
    



                    </div>
                </div>
            </div>
        
    
    </div>
    
    
        <h3 class="subsection-title">继承关系</h3>

        


    <ul>
        <li><a link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol" TextSymbol.html>TextSymbol</a></li>
    </ul>


    

    

    

    

    

    

    
        <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="#angle">angle</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字角度</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#backgroundColor">backgroundColor</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字背景颜色</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#backgroundImage">backgroundImage</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             function
    
</span>
|

<span class="param-type">
    
             Image
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字背景颜色</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#backgroundPadding">backgroundPadding</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
         Array.&lt;Number>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字背景内边距</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#borderLineColor">borderLineColor</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字外边框颜色</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#borderLineSize">borderLineSize</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字外边框线宽</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#color">color</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字颜色</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Object
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#font">font</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             String
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字字体</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#haloColor">haloColor</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>光晕颜色</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#haloSize">haloSize</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>光晕大小</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#horizontalAlignment">horizontalAlignment</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="HorizontalAlignment.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="HorizontalAlignment" global.html#HorizontalAlignment>HorizontalAlignment</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>水平方向</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#id">id</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             String
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>符号id</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#kerning">kerning</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Boolean
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>是否调整文本字符串中字符之间的间距</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#letterSpacing">letterSpacing</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字间距</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#lineHeight">lineHeight</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>行高</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#lineMaxNum">lineMaxNum</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字最大行数</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#lineWidth">lineWidth</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>行宽</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#rotated">rotated</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Boolean
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>是否旋转</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#text">text</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             String
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>显示的内容</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textDecorationThroughlineColor">textDecorationThroughlineColor</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字删除线颜色,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textDecorationThroughlineWidth">textDecorationThroughlineWidth</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字删除线宽度,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textDecorationUnderlineColor">textDecorationUnderlineColor</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字下划线颜色,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textDecorationUnderlineWidth">textDecorationUnderlineWidth</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字下划线宽度,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textExtraIcon">textExtraIcon</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Image
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>注记额外符号</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textExtraIconAnchor">textExtraIconAnchor</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             String
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>图标方位 &quot;left&quot; &quot;right&quot; &quot;top&quot; &quot;bottom&quot;</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textExtraIconSize">textExtraIconSize</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>图标大小</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textShadowBlur">textShadowBlur</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字阴影模糊度</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textShadowColor">textShadowColor</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字阴影颜色</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textShadowOffsetX">textShadowOffsetX</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字阴影横轴偏移</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textShadowOffsetY">textShadowOffsetY</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>文字阴影纵轴偏移</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#textWraps">textWraps</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Boolean
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>是否换行</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#type">type</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             String
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>符号类型</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#verticalAlignment">verticalAlignment</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             <a link="VerticalAlignment.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="VerticalAlignment" global.html#VerticalAlignment>VerticalAlignment</a>
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>垂直对齐</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#xoffset">xoffset</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>x偏移</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#yoffset">yoffset</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Number
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>y偏移</p></code></td>
                            </tr>
                        
                    </tbody>
                </table>
            </div>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
            <div class="members">
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="angle">
    <a class="href-link" href="#angle">#</a>
    
    <span class="code-name">
        angle
    </span>
    
</h4>




<div class="description">
    <p>文字角度</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="angle" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#angle" TextSymbol.html#angle>TextSymbol#angle</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



    </span>

<h4 class="name" id="backgroundColor">
    <a class="href-link" href="#backgroundColor">#</a>
    
    <span class="code-name">
        backgroundColor
    </span>
    
</h4>




<div class="description">
    <p>文字背景颜色</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="backgroundColor" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#backgroundColor" TextSymbol.html#backgroundColor>TextSymbol#backgroundColor</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             function
    
</span>
|

<span class="param-type">
    
             Image
    
</span>



    </span>

<h4 class="name" id="backgroundImage">
    <a class="href-link" href="#backgroundImage">#</a>
    
    <span class="code-name">
        backgroundImage
    </span>
    
</h4>




<div class="description">
    <p>文字背景颜色</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
         Array.&lt;Number>
    
</span>



    </span>

<h4 class="name" id="backgroundPadding">
    <a class="href-link" href="#backgroundPadding">#</a>
    
    <span class="code-name">
        backgroundPadding
    </span>
    
</h4>




<div class="description">
    <p>文字背景内边距</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



    </span>

<h4 class="name" id="borderLineColor">
    <a class="href-link" href="#borderLineColor">#</a>
    
    <span class="code-name">
        borderLineColor
    </span>
    
</h4>




<div class="description">
    <p>文字外边框颜色</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="borderLineColor" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#borderLineColor" TextSymbol.html#borderLineColor>TextSymbol#borderLineColor</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="borderLineSize">
    <a class="href-link" href="#borderLineSize">#</a>
    
    <span class="code-name">
        borderLineSize
    </span>
    
</h4>




<div class="description">
    <p>文字外边框线宽</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="borderLineSize" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#borderLineSize" TextSymbol.html#borderLineSize>TextSymbol#borderLineSize</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



    </span>

<h4 class="name" id="color">
    <a class="href-link" href="#color">#</a>
    
    <span class="code-name">
        color
    </span>
    
</h4>




<div class="description">
    <p>文字颜色</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="color" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#color" TextSymbol.html#color>TextSymbol#color</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Object
    
</span>



    </span>

<h4 class="name" id="extendOptions">
    <a class="href-link" href="#extendOptions">#</a>
    
    <span class="code-name">
        extendOptions
    </span>
    
</h4>




<div class="description">
    <p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="extendOptions" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#extendOptions" Symbol.html#extendOptions>Symbol#extendOptions</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-default">Default Value:</dt>
    <dd class="tag-default"><ul class="dummy">
            <li>{}</li>
        </ul></dd>
    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             String
    
</span>



    </span>

<h4 class="name" id="font">
    <a class="href-link" href="#font">#</a>
    
    <span class="code-name">
        font
    </span>
    
</h4>




<div class="description">
    <p>文字字体</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="font" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#font" TextSymbol.html#font>TextSymbol#font</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



    </span>

<h4 class="name" id="haloColor">
    <a class="href-link" href="#haloColor">#</a>
    
    <span class="code-name">
        haloColor
    </span>
    
</h4>




<div class="description">
    <p>光晕颜色</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="haloColor" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#haloColor" TextSymbol.html#haloColor>TextSymbol#haloColor</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="haloSize">
    <a class="href-link" href="#haloSize">#</a>
    
    <span class="code-name">
        haloSize
    </span>
    
</h4>




<div class="description">
    <p>光晕大小</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="haloSize" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#haloSize" TextSymbol.html#haloSize>TextSymbol#haloSize</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="HorizontalAlignment.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="HorizontalAlignment" global.html#HorizontalAlignment>HorizontalAlignment</a>
    
</span>



    </span>

<h4 class="name" id="horizontalAlignment">
    <a class="href-link" href="#horizontalAlignment">#</a>
    
    <span class="code-name">
        horizontalAlignment
    </span>
    
</h4>




<div class="description">
    <p>水平方向</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="horizontalAlignment" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#horizontalAlignment" TextSymbol.html#horizontalAlignment>TextSymbol#horizontalAlignment</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             String
    
</span>



    </span>

<h4 class="name" id="id">
    <a class="href-link" href="#id">#</a>
    
        
            <span class='tag'>readonly</span>
        
    
    <span class="code-name">
        id
    </span>
    
</h4>




<div class="description">
    <p>符号id</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Boolean
    
</span>



    </span>

<h4 class="name" id="kerning">
    <a class="href-link" href="#kerning">#</a>
    
    <span class="code-name">
        kerning
    </span>
    
</h4>




<div class="description">
    <p>是否调整文本字符串中字符之间的间距</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="kerning" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#kerning" TextSymbol.html#kerning>TextSymbol#kerning</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="letterSpacing">
    <a class="href-link" href="#letterSpacing">#</a>
    
    <span class="code-name">
        letterSpacing
    </span>
    
</h4>




<div class="description">
    <p>文字间距</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="lineHeight">
    <a class="href-link" href="#lineHeight">#</a>
    
    <span class="code-name">
        lineHeight
    </span>
    
</h4>




<div class="description">
    <p>行高</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="lineHeight" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#lineHeight" TextSymbol.html#lineHeight>TextSymbol#lineHeight</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="lineMaxNum">
    <a class="href-link" href="#lineMaxNum">#</a>
    
    <span class="code-name">
        lineMaxNum
    </span>
    
</h4>




<div class="description">
    <p>文字最大行数</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="lineWidth">
    <a class="href-link" href="#lineWidth">#</a>
    
    <span class="code-name">
        lineWidth
    </span>
    
</h4>




<div class="description">
    <p>行宽</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="lineWidth" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#lineWidth" TextSymbol.html#lineWidth>TextSymbol#lineWidth</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Boolean
    
</span>



    </span>

<h4 class="name" id="rotated">
    <a class="href-link" href="#rotated">#</a>
    
    <span class="code-name">
        rotated
    </span>
    
</h4>




<div class="description">
    <p>是否旋转</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="rotated" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#rotated" TextSymbol.html#rotated>TextSymbol#rotated</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             String
    
</span>



    </span>

<h4 class="name" id="text">
    <a class="href-link" href="#text">#</a>
    
    <span class="code-name">
        text
    </span>
    
</h4>




<div class="description">
    <p>显示的内容</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="text" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#text" TextSymbol.html#text>TextSymbol#text</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



    </span>

<h4 class="name" id="textDecorationThroughlineColor">
    <a class="href-link" href="#textDecorationThroughlineColor">#</a>
    
    <span class="code-name">
        textDecorationThroughlineColor
    </span>
    
</h4>




<div class="description">
    <p>文字删除线颜色,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="textDecorationThroughlineWidth">
    <a class="href-link" href="#textDecorationThroughlineWidth">#</a>
    
    <span class="code-name">
        textDecorationThroughlineWidth
    </span>
    
</h4>




<div class="description">
    <p>文字删除线宽度,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



    </span>

<h4 class="name" id="textDecorationUnderlineColor">
    <a class="href-link" href="#textDecorationUnderlineColor">#</a>
    
    <span class="code-name">
        textDecorationUnderlineColor
    </span>
    
</h4>




<div class="description">
    <p>文字下划线颜色,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="textDecorationUnderlineWidth">
    <a class="href-link" href="#textDecorationUnderlineWidth">#</a>
    
    <span class="code-name">
        textDecorationUnderlineWidth
    </span>
    
</h4>




<div class="description">
    <p>文字下划线宽度,待废弃接口,推荐使用font属性中文字装饰元素属性decoration</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Image
    
</span>



    </span>

<h4 class="name" id="textExtraIcon">
    <a class="href-link" href="#textExtraIcon">#</a>
    
    <span class="code-name">
        textExtraIcon
    </span>
    
</h4>




<div class="description">
    <p>注记额外符号</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             String
    
</span>



    </span>

<h4 class="name" id="textExtraIconAnchor">
    <a class="href-link" href="#textExtraIconAnchor">#</a>
    
    <span class="code-name">
        textExtraIconAnchor
    </span>
    
</h4>




<div class="description">
    <p>图标方位 &quot;left&quot; &quot;right&quot; &quot;top&quot; &quot;bottom&quot;</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="textExtraIconSize">
    <a class="href-link" href="#textExtraIconSize">#</a>
    
    <span class="code-name">
        textExtraIconSize
    </span>
    
</h4>




<div class="description">
    <p>图标大小</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="textShadowBlur">
    <a class="href-link" href="#textShadowBlur">#</a>
    
    <span class="code-name">
        textShadowBlur
    </span>
    
</h4>




<div class="description">
    <p>文字阴影模糊度</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
    
</span>



    </span>

<h4 class="name" id="textShadowColor">
    <a class="href-link" href="#textShadowColor">#</a>
    
    <span class="code-name">
        textShadowColor
    </span>
    
</h4>




<div class="description">
    <p>文字阴影颜色</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="textShadowOffsetX">
    <a class="href-link" href="#textShadowOffsetX">#</a>
    
    <span class="code-name">
        textShadowOffsetX
    </span>
    
</h4>




<div class="description">
    <p>文字阴影横轴偏移</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="textShadowOffsetY">
    <a class="href-link" href="#textShadowOffsetY">#</a>
    
    <span class="code-name">
        textShadowOffsetY
    </span>
    
</h4>




<div class="description">
    <p>文字阴影纵轴偏移</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Boolean
    
</span>



    </span>

<h4 class="name" id="textWraps">
    <a class="href-link" href="#textWraps">#</a>
    
    <span class="code-name">
        textWraps
    </span>
    
</h4>




<div class="description">
    <p>是否换行</p>
</div>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             String
    
</span>



    </span>

<h4 class="name" id="type">
    <a class="href-link" href="#type">#</a>
    
    <span class="code-name">
        type
    </span>
    
</h4>




<div class="description">
    <p>符号类型</p>
</div>





<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a class="mapgis-link-name" title="TextSymbol#type" TextSymbol.html#type>TextSymbol#type</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             <a link="VerticalAlignment.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="VerticalAlignment" global.html#VerticalAlignment>VerticalAlignment</a>
    
</span>



    </span>

<h4 class="name" id="verticalAlignment">
    <a class="href-link" href="#verticalAlignment">#</a>
    
    <span class="code-name">
        verticalAlignment
    </span>
    
</h4>




<div class="description">
    <p>垂直对齐</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="verticalAlignment" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#verticalAlignment" TextSymbol.html#verticalAlignment>TextSymbol#verticalAlignment</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="xoffset">
    <a class="href-link" href="#xoffset">#</a>
    
    <span class="code-name">
        xoffset
    </span>
    
</h4>




<div class="description">
    <p>x偏移</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="xoffset" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#xoffset" TextSymbol.html#xoffset>TextSymbol#xoffset</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Number
    
</span>



    </span>

<h4 class="name" id="yoffset">
    <a class="href-link" href="#yoffset">#</a>
    
    <span class="code-name">
        yoffset
    </span>
    
</h4>




<div class="description">
    <p>y偏移</p>
</div>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="yoffset" link="TextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TextSymbol#yoffset" TextSymbol.html#yoffset>TextSymbol#yoffset</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</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="#fromJSON">fromJSON</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                                
<span class="param-type">
    
             <a link="MapGISTextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTextSymbol" MapGISTextSymbol.html>MapGISTextSymbol</a>
    
</span>



                                            
                                    </code>
                                </td>
                                <td class="name"><code></code></td>
                            </tr>
                        
                            <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="MapGISTextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTextSymbol" MapGISTextSymbol.html>MapGISTextSymbol</a>
    
</span>



                                            
                                    </code>
                                </td>
                                <td class="name"><code></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></code></td>
                            </tr>
                        
                    </tbody>
                </table>
            </div>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
            
                <div class="member">


    
    <h4 class="name" id=".fromJSON">
        <a class="href-link" href="#.fromJSON">#</a>
        
            
                <span class='tag'>static</span>
            
        
        <span class="code-name" id="fromJSON" style="font-size:30px">
            
                fromJSON<span class="signature">(json)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <a id='fromJSON'/>
将JSON里的数据导入,并返回一个新的TextSymbol对象<a id='fromJSON'></a>
    </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"><code>json</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Object
    
</span>



  
  </td>

  

  <td class="description last"><p>新的TextSymbol对象</p></td>
</tr>



        
        </tbody>
    </table>
</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>新的TextSymbol对象</p></div>
    
    
    <div class='column is-5 has-text-left'>
        <label>类型: </label>
        
<span class="param-type">
    
             <a link="MapGISTextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTextSymbol" MapGISTextSymbol.html>MapGISTextSymbol</a>
    
</span>



    </div>
    
</div>

                
        </div>
    </div>






</div>
            
                <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">
        <a id='clone'/>
克隆并返回新的符号对象
    </div>
    













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a class="mapgis-link-name" title="TextSymbol#clone" TextSymbol.html#clone>TextSymbol#clone</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    
    

    

    

    
</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="MapGISTextSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MapGISTextSymbol" MapGISTextSymbol.html>MapGISTextSymbol</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">
        <a id='toJSON'/>
导出为JSON对象
    </div>
    













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a class="mapgis-link-name" title="TextSymbol#toJSON" TextSymbol.html#toJSON>TextSymbol#toJSON</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    
    

    

    

    
</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>