Interface: DrawPadEvent
Extends
M2NodeEvent
Properties
handled?
optional
handled:boolean
Has the event been taken care of by the listener and not be dispatched to other targets?
Inherited from
M2NodeEvent.handled
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2319
iso8601Timestamp
iso8601Timestamp:
string
Timestamp of th event, from new Date().toISOString()
Inherited from
M2NodeEvent.iso8601Timestamp
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2323
position
position:
Point
Defined in
m2c2kit/packages/addons/src/composites/draw-pad.ts:54
sequence?
optional
sequence:number
Sequence number of event.
Remarks
Sequence number is guaranteed to reflect order of events, but not necessarily contiguous, e.g., could be 1, 2, 5, 10, 11, 24.
Inherited from
M2NodeEvent.sequence
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2328
target
target:
string
|M2Node
The M2Node on which the event occurred. If the event has gone through serialization, the string will be the node's UUID.
Inherited from
M2NodeEvent.target
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:393
timestamp
timestamp:
number
Timestamp of the event, from performance.now()
Inherited from
M2NodeEvent.timestamp
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:2321
type
type:
DrawPadEventType
Type of event.
Overrides
M2NodeEvent.type
Defined in
m2c2kit/packages/addons/src/composites/draw-pad.ts:53