Skip to main content

Interface: StrokeInteraction

Properties

interpolated

interpolated: boolean

Was the interaction's position interpolated? (clipped to DrawPad boundary) because the user drew out of bounds?

Remarks

Only StrokeMove and StrokeEnd can be interpolated. A StrokeStart position can never begin out of bounds.

Source

addons/src/composites/draw-pad.ts:76


iso8601Timestamp

iso8601Timestamp: string

Device ISO8601 Timestamp of the interaction.

Source

addons/src/composites/draw-pad.ts:74


position

position: Point

Position on the DrawPad where the interaction occurred. In the DrawPad coordinate system, (0, 0) is the upper-left corner.

Source

addons/src/composites/draw-pad.ts:72


type

type: DrawPadEventType

Type of user interaction with the stroke: StrokeStart, StrokeMove, or StrokeEnd.

Source

addons/src/composites/draw-pad.ts:70