Home > SCH_PrimitiveBus > modify
SCH_PrimitiveBus.modify() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
修改总线
Signature
typescript
modify(primitiveId: string | ISCH_PrimitiveBus, busName?: BusNetGroupCreateOptions['net'], line?: BusNetGroupCreateOptions['line'], color?: BusNetGroupCreateOptions['color'], lineWidth?: BusNetGroupCreateOptions['lineWidth'], lineType?: BusNetGroupCreateOptions['lineType']): ISCH_PrimitiveBus | undefined;
1
Parameters
Parameter | Type | Description |
---|---|---|
primitiveId | string | ISCH_PrimitiveBus | 总线的图元 ID 或总线图元对象 |
busName | BusNetGroupCreateOptions['net'] | (Optional) 总线名称 |
line | BusNetGroupCreateOptions['line'] | (Optional) 多段线坐标组,每段都是连续的一组 |
color | BusNetGroupCreateOptions['color'] | (Optional) 总线颜色, |
lineWidth | BusNetGroupCreateOptions['lineWidth'] | (Optional) 线宽,范围 |
lineType | BusNetGroupCreateOptions['lineType'] | (Optional) 线型, |
Returns
ISCH_PrimitiveBus | undefined
总线图元对象