androidx.ink.strokes


Classes

ImmutableStrokeInputBatch

An immutable implementation of StrokeInputBatch.

InProgressStroke

Use an InProgressStroke to efficiently build a stroke over multiple rendering frames with incremental inputs.

MutableStrokeInputBatch

A mutable implementation of StrokeInputBatch.

Stroke

An immutable object comprised of a StrokeInputBatch that represents a user-drawn (or sometimes synthetic) path, a Brush that contains information on how that path should be converted into a geometric shape and rendered on screen, and a PartitionedMesh which is the geometric shape calculated from the combination of the StrokeInputBatch and the Brush.

StrokeInput

A single input specifying position, time since the start of the stream, and optionally pressure, tiltRadians, and orientationRadians.

StrokeInputBatch

A read-only view of an object that stores multiple StrokeInput values together in a more memory-efficient manner than just List<StrokeInput>.