InkStroke

data class InkStroke(val tool: InkTool, val points: List<InkPoint>, val endedOutsideLimitRegion: Boolean, val bounds: RectF)(source)

Completed raw stroke.

Constructors

Link copied to clipboard
constructor(tool: InkTool, points: List<InkPoint>, endedOutsideLimitRegion: Boolean, bounds: RectF)

Properties

Link copied to clipboard

View-local physical-pixel bounds of all points.

Link copied to clipboard

Whether the final point was outside configured limits.

Link copied to clipboard

Ordered, lossless input samples.

Link copied to clipboard

Physical tool that produced the stroke.