Home > SCH_PrimitiveComponent > createShortCircuitFlag
SCH_PrimitiveComponent.createShortCircuitFlag() 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
createShortCircuitFlag(x: number, y: number, rotation?: number, mirror?: boolean): Promise<ISCH_PrimitiveComponent | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
x | number | 坐标 X |
y | number | 坐标 Y |
rotation | number | (Optional) 旋转角度 |
mirror | boolean | (Optional) 是否镜像 |
Returns
Promise<ISCH_PrimitiveComponent | undefined>
器件图元对象