元件
图形
符号、封装和 PCB 布局共享的形状:直线、矩形、折线、多边形、圆、圆弧和文本。
符号和封装共用。kind 选择形状及其所需字段:
| kind | fields |
|---|---|
line | start、end |
rect | start、end(对角顶点) |
polyline | points(开放) |
polygon | points(闭合) |
circle | center、radius |
arc | start、mid、end(mid 是它们之间弧上的任意点) |
text | text、at、size、rotation、anchor(left / center / right) |
加上 width(描边)、fill(none / solid / background),以及 layer(封装)或 unit(符号)。在 PCB 布局的 [[graphics]] 中,locked = true 可防止 agentee place 移动文本。