eda_pcb_primitive_fill_modify
Modify a PCB fill's properties—layer, complex polygon, net, fill mode, line width, or lock—to update filled areas in EasyEDA Pro.
Instructions
pcb_PrimitiveFill.modify(primitiveId: string | IPCB_PrimitiveFill, property: { layer?: TPCB_LayersOfFill; complexPolygon?: IPCB_Polygon; net?: string; fillMode?: EPCB_PrimitiveFillMode; lineWidth?: number; primitiveLock?: boolean }) -> Promise<IPCB_PrimitiveFill | undefined>
修改填充
returns: 填充图元对象,undefined 表示修改失败
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |