Nutrient Web SDK

ReferenceInkDrawingState

Type Alias InkDrawingState

Represents the current state of an ink drawing operation. Tracks whether the user is actively drawing, which annotation is being drawn, and timing information for the most recent stroke.

Type Alias

Properties

string | null

The ID of the ink annotation currently being drawn, or null if idle.

boolean

Whether the user is currently in the middle of a drawing stroke.

number | null

Duration of the most recent stroke in milliseconds, or null if unavailable.

number | null

Timestamp (ms since epoch) when the most recent stroke ended, or null if no stroke has completed.

number | null

Timestamp (ms since epoch) when the most recent stroke started, or null if no stroke has occurred.