编程语言/photoshop/导出格式:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
 
(未显示同一用户的1个中间版本)
第33行: 第33行:
   "units": "pointsUnit"
   "units": "pointsUnit"
}</syntaxhighlight> || 导出的时候首选 impliedFontSize 作为字体大小的标尺
}</syntaxhighlight> || 导出的时候首选 impliedFontSize 作为字体大小的标尺
|-
| impliedLeading || 隐含/默认行高 || <syntaxhighlight lang="javascript">{
  "value": 30.6716,
  "units": "pointsUnit"
}</syntaxhighlight> ||
|-
|-
| transform || 变形 || <syntaxhighlight lang="javascript">{
| transform || 变形 || <syntaxhighlight lang="javascript">{
第41行: 第46行:
   "tx": 0,
   "tx": 0,
   "ty": 0
   "ty": 0
}</syntaxhighlight> || 当 transform 存在时,会导致 textStyleRange.textStyle.impliedFontSize 与 textStyleRange.textStyle.size 不一致。
}</syntaxhighlight> || 当 transform 存在时,会导致 textStyleRange.textStyle.impliedFontSize 与 textStyleRange.textStyle.size 不一致。其缘由是进行了拖拽文字图层进行变形导致,并且变形过程中的 <code>xx</code>、<code>yy</code> 值并不固定,是不确定值。同样受影响的参数还有 <code>impliedLeading</code>、<code>leading</code>
|}
|}
==== textStyleRange ====
==== textStyleRange ====