编程语言/photoshop/导出格式:修订间差异
来自康健生活
| 第25行: | 第25行: | ||
=== layerEffects === | === layerEffects === | ||
=== text === | === text === | ||
{| class="wikitable" | |||
|- | |||
! 属性 !! 描述 !! eq !! info | |||
|- | |||
| impliedFontSize || 隐含/默认字体大小 || <syntaxhighlight lang="javascript">{ | |||
"value": 36, | |||
"units": "pointsUnit" | |||
}</syntaxhighlight> || 导出的时候首选 impliedFontSize 作为字体大小的标尺 | |||
|- | |||
| transform || 变形 || <syntaxhighlight lang="javascript">{ | |||
"xx": 1.331, | |||
"xy": 0, | |||
"yx": 0, | |||
"yy": 1.331, | |||
"tx": 0, | |||
"ty": 0 | |||
}</syntaxhighlight> || 当 transform 存在时,会导致 textStyleRange.textStyle.impliedFontSize 与 textStyleRange.textStyle.size 不一致。 | |||
|} | |||
==== textStyleRange ==== | ==== textStyleRange ==== | ||
===== textStyle ===== | ===== textStyle ===== | ||