编程语言/photoshop/导出格式:修订间差异
来自康健生活
创建页面,内容为“== 引言 == == 导出格式 == <syntaxhighlight lang="javascript"> const cssTemp = { backgrounds: [ { color: { r: 216, g: 216, b…” |
|||
| 第1行: | 第1行: | ||
== 引言 == | == 引言 == | ||
== 源 == | |||
{| class="wikitable" | |||
|- | |||
! 属性 !! 描述 !! eq | |||
|- | |||
| bounds || 长宽 || <syntaxhighlight lang="javascript"> | |||
{ | |||
"top": 382, | |||
"left": 1125, | |||
"bottom": 417, | |||
"right": 1295 | |||
}</syntaxhighlight> | |||
|- | |||
| boundsWithFX || 示例 || 示例 | |||
|- | |||
| 示例 || 示例 || 示例 | |||
|} | |||
== 导出格式 == | == 导出格式 == | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
2022年3月15日 (二) 10:47的版本
引言
源
| 属性 | 描述 | eq |
|---|---|---|
| bounds | 长宽 | {
"top": 382,
"left": 1125,
"bottom": 417,
"right": 1295
}
|
| boundsWithFX | 示例 | 示例 |
| 示例 | 示例 | 示例 |
导出格式
const cssTemp = {
backgrounds: [
{
color: {
r: 216,
g: 216,
b: 216,
a: 1,
},
},
],
x: 244,
y: 222,
width: 20,
height: 13,
borders: [
{
color: {
r: 151,
g: 151,
b: 151,
a: 1,
},
width: 1,
},
],
boxShadows: [],
borderRadius: 0,
opacity: 0,
fontFamily: 'PingFang SC',
fontSize: 12,
color: {
r: 27,
g: 36,
b: 50,
a: 1,
},
content: '财务复审待办',
textAlign: 'left',
letterSpacing: 0,
lineHeight: 17,
exportable: true,
exportOptions: [],
}
No categories