M3D / M3D / Utility / ShapesMessage
Class: ShapesMessage
Memberof
M3D.Utility
Description
Shape管理类消息
Hierarchy
-
↳
ShapesMessage
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ShapesMessage(state, para?): ShapesMessage
Parameters
| Name | Type |
|---|---|
state | string |
para? | Map<string, any> |
Returns
Description
构造函数
Overrides
Properties
exception
• exception: any
Inherited from
expired
• expired: boolean
Inherited from
handler
• handler: any
Inherited from
info
• info: string
Inherited from
level
• level: number
Inherited from
state
• state: string
Inherited from
type
• type: string
Inherited from
operateShapeKey
▪ Static operateShapeKey: string
Methods
getOperateShapesMap
▸ getOperateShapesMap(): Map<ShapeType, Shape[]>
Returns
Description
获取可视操作形状Map
setExpired
▸ setExpired(isExpired): void
Parameters
| Name | Type | Description |
|---|---|---|
isExpired | boolean | 是否消息过期 |
Returns
void
Description
设置消息过期