PCB_PrimitiveLine class
PCB & footprint / line primitive class
Signature
typescript
class PCB_PrimitiveLine implements IPCB_PrimitiveAPI1
Implements: IPCB_PrimitiveAPI
Remarks
Both lines and arc lines are wires, corresponding to the line traces and arc traces on the canvas
Methods
Method | Modifiers | Description |
|---|---|---|
create(net, layer, startX, startY, endX, endY, lineWidth, primitiveLock) | Create a line | |
(BETA) Delete the line | ||
(BETA) Get the line | ||
(BETA) Get the line | ||
(BETA) Get all lines | ||
(BETA) Get the primitive IDs of all lines | ||
(BETA) Modify the line |