TEXT Text
json
{ "type": "TEXT", "id": "UUID", "ticket": 1 }||
{
"partId": "",
"groupId": 0,
"locked": false,
"zIndex": 4.12,
"positionX": 109,
"positionY": 804.5,
"rotation": 0,
"value": "any characters doukeyi@!@#$",
"color": "#fff",
"fillColor": "#fff",
"fontFamily": "SimSun",
"fontSize": 12,
"strikeout": false,
"underline": false,
"italic": false,
"fontWeight": false,
"vAlign": 0 ,
"hAlign": 2,
}|1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- type primitive name: TEXT.
- id ID, unique within the file.
- ticket logical clock.
- partId sub-library ID, exclusive to symbol pages; ignored on schematics.
- groupId group ID, cannot be 0, empty by default when none.
- locked whether locked.
- zIndex Z-axis height.
- positionX text coordinate X.
- positionY text coordinate Y.
- rotation rotation angle, around text coordinate.
- value text content: any characters.
- color color.
- fillColor background color.
- fontFamily font name.
- fontSize font size, same unit as coordinates.
- strikeout whether to strike out.
- underline whether to underline.
- italic whether italic.
- fontWeight whether bold.
- vAlign vertical alignment: 0 top, 1 middle, 2 bottom.
- hAlign horizontal alignment: 0 left, 1 center, 2 right.