ActiveStrokePolicy

sealed interface ActiveStrokePolicy(source)

Behavior requested when committing while the pen is down.

Inheritors

Types

Link copied to clipboard

Reject the commit immediately while a stroke is active.

Link copied to clipboard
data class WaitForPenUp(val timeout: Duration = 2.seconds) : ActiveStrokePolicy

Wait for the active stroke to end.