我知道这是微不足道的,但希望这对除了我自己之外的其他人有所帮助。
我一直在我正在处理的 .SVG 中找到这个属性:“inkscape:”。这是什么意思?然后将其抽象出一个级别,当声明为 .SVG 的属性时,“任何东西:”是什么意思?例如。
inkscape:lblTemplate="{align:Right,attr:get,tag:tag,type:Good}" zoomAndPan="magnify" xmlns:xlink="http://www.w3.org/1999/xlink" inkscape:vyplnStroke="txtcolor" xmlns:rtda="http://www.itris.fr/2003/animation" contentStyleType="text/css" id="text0243" version="1.0" width="100" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:opac="ver;1;1" preserveAspectRatio="xMidYMid meet" inkscape:textik="max.toFixed(dp)" viewBox="0 0 100 300" height="300" xmlns="http://www.w3.org/2000/svg" inkscape:componentData="{name:B - T Bar,desc:Bottom - Top Bar,author:mySCADA Team,uniqueID:0348f7cec3,list:[{variableName:tag,name:tag,desc:Tag,value:tag,type:0},{variableName:min,name:min,desc:Min,value:0,type:2},{variableName:max,name:max,desc:Max,value:100,type:2},{variableName:color1,name:color-low,desc:Low color,value:#FFFF00,type:4},{variableName:color2,name:color-norm,desc:Normal color,value:#00FF00,type:4},{variableName:color3,name:color-high,desc:High color,value:#FF0000,type:4},{variableName:txtcolor,name:,desc:Text color,value:#000000,type:4},{variableName:TH1,name:treshold1,desc:1st treshold,value:25,type:2},{variableName:TH2,name:treshold2,desc:2nd treshold,value:75,type:2},{variableName:label,name:label,desc:Label,value:Label,type:1},{variableName:fsize,name:fsize,desc:Font size,value:12,type:2},{variableName:dp,name:,desc:No. of decimal places,value:1,type:2}]}"
或者
inkscape:vypln="txtcolor"
上述两个示例都与标签内联,如在 ">" 之前。