feat: symbol添加背景、前景、内容显示区域设置

This commit is contained in:
2023-11-24 09:30:59 +08:00
59 changed files with 4456 additions and 2058 deletions

View File

@@ -245,6 +245,7 @@
<xs:attribute name="id" default="0" type="xs:string" use="optional"/>
<xs:attribute name="use" default="0" type="xs:string" use="optional"/>
<!-- 使用动态图标时,以@符号开头建议动态tag的key使用较长(大于4位)的字符串 -->
<xs:attribute name="src" type="tns:src" use="optional"/>
<xs:attribute name="symbol-width" type="xs:positiveInteger" use="optional"/>
<xs:attribute name="symbol-height" type="xs:positiveInteger" use="optional"/>
@@ -262,6 +263,10 @@
<xs:attribute name="degree" default="0" type="xs:float" use="optional"/>
<!-- 图标在y轴方向上的偏移量 -->
<xs:attribute name="dy" default="0" type="xs:float" use="optional"/>
<!-- symbol的背景图片常用来绘制立标 -->
<xs:attribute name="background" type="tns:src" use="optional"/>
<!-- symbol的内容图片的占用区域必须为4个数字组成英文逗号分隔的字符串值为左下的百分比 -->
<xs:attribute name="content-rect" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="extrusion">