Home > SCH_PrimitiveRectangle > delete
SCH_PrimitiveRectangle.delete() method
删除矩形
Signature
typescript
delete(primitiveIds: string | ISCH_PrimitiveRectangle | Array<string> | Array<ISCH_PrimitiveRectangle>): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
primitiveIds | string | ISCH_PrimitiveRectangle | Array<string> | Array<ISCH_PrimitiveRectangle> | 矩形的图元 ID 或矩形图元对象 |
Returns
Promise<boolean>
删除操作是否成功