PCB 图元接口
interface IPCB_PrimitiveAPI |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(...args: any[]) => IPCB_Primitive | undefined | Promise<IPCB_Primitive> | Promise<IPCB_Primitive | undefined> | |||
|
(primitiveIds: string | any | Array<string> | Array<any>) => boolean | Promise<boolean> | |||
|
{ (primitiveIds: string): IPCB_Primitive | undefined | Promise<IPCB_Primitive | undefined>; (primitiveIds: Array<string>): Array<IPCB_Primitive> | Promise<Array<IPCB_Primitive>>; } | |||
|
(...args: any[]) => Array<IPCB_Primitive> | Promise<Array<IPCB_Primitive>> | |||
|
(...args: any[]) => Array<string> | Promise<Array<string>> | |||
|
(primitiveId: string | any, ...args: any[]) => IPCB_Primitive | undefined | Promise<IPCB_Primitive> | Promise<IPCB_Primitive | undefined> |
create: (...args: any[]) => IPCB_Primitive | undefined | Promise<IPCB_Primitive> | Promise<IPCB_Primitive | undefined>;delete: (primitiveIds: string | any | Array<string> | Array<any>) => boolean | Promise<boolean>;get: {
(primitiveIds: string): IPCB_Primitive | undefined | Promise<IPCB_Primitive | undefined>;
(primitiveIds: Array<string>): Array<IPCB_Primitive> | Promise<Array<IPCB_Primitive>>;
};getAll: (...args: any[]) => Array<IPCB_Primitive> | Promise<Array<IPCB_Primitive>>;getAllPrimitiveId: (...args: any[]) => Array<string> | Promise<Array<string>>;modify: (primitiveId: string | any, ...args: any[]) => IPCB_Primitive | undefined | Promise<IPCB_Primitive> | Promise<IPCB_Primitive | undefined>;