Text System
STRING Text
When STRING is on a signal layer, from the DRC perspective it is:
- Net-less.
- A BBox with
positionat 0,0,rotation angle0, andwhether mirrored0. - A rectangular area after applying
position,rotation angle, andwhether mirroredtransformations.
json
{ "type": "STRING", "id":"UUID", "ticket": 1 }||
{
"partitionId":null,
"groupId":0,
"locked":1,
"zIndex":0.2693,
"layerId":1,
"positionX":300,
"positionY":600,
"text":"any text",
"fontFamily":"SimSun",
"fontSize":50,
"strokeWidth":10,
"bold":0,
"italic":0,
"origin":5,
"angle":15,
"reverse":1,
"reverseExpansion":0,
"mirror":1,
"width":100,
"height":200,
"path":["complex polygon"],
}|
["STRING", "e100", 0, 1, 0.2693, 1, 300, 600, "any text", "SimSun", 50, 10, 0, 0, 5, 15, 1, 0, 1]1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- type text
STRING. - id primitive ID, unique within the document.
- ticket logical clock.
- partitionId partition ID it belongs to, null means no partition. Ignored for footprints.
- groupId group ID: 0 no group, non-zero is the group flag, same flag means same group.
- locked whether locked.
- zIndex Z-axis height.
- layerId layer.
- positionX position X.
- positionY position Y.
- text content.
- fontFamily font name.
- fontSize font size.
- strokeWidth stroke width.
- bold whether bold.
- italic whether italic.
- origin alignment mode:
0top-left,1top-center,2top-right,3middle-left,4middle-center,5middle-right,6bottom-left,7bottom-center,8bottom-right. - angle rotation angle.
- reverse whether reverse expansion.
- expansion reverse expansion size: size of the reverse expansion area, supports negative numbers.
- mirror whether mirrored. Generally, when text appears on the bottom layer, this should also be adjusted to
1. - width height,
nullif none. - height width,
nullif none. - path complex polygon array,
nullif none.