PluginInstance
- Web
更新时间不可用
Whiteboard Web SDK 2.16.59 公开 interface。
export declare interface PluginInstance<C, A>成员
- kind
- identifier
- context
- originX
- originY
- width
- height
- selectable
- isDraging
- isResizing
- isPlaying
- playerTimestamp
- playbackSpeed
- attributes
- putAttributes
- removeAttributeKeys
- update
- remove
Properties
kind
readonly kind: string;
identifier
readonly identifier: Identifier;
context
readonly context: C;
originX
readonly originX: number;
originY
readonly originY: number;
width
readonly width: number;
height
readonly height: number;
selectable
readonly selectable: boolean;
isDraging
readonly isDraging: boolean;
isResizing
readonly isResizing: boolean;
isPlaying
readonly isPlaying: boolean;
playerTimestamp
readonly playerTimestamp: number;
playbackSpeed
readonly playbackSpeed: number;
attributes
attributes: A;Methods
putAttributes
putAttributes(attributes: Partial<A>): void;| 返回类型 | 描述 |
|---|---|
void |
removeAttributeKeys
removeAttributeKeys<K extends string>(...keys: K[]): void;| 返回类型 | 描述 |
|---|---|
void |
update
update(description: PluginDescription<A>): void;| 返回类型 | 描述 |
|---|---|
void |
remove
remove(): void;| 返回类型 | 描述 |
|---|---|
void |