Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.ink.strokes\n====================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/ink/strokes/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ImmutableStrokeInputBatch](/reference/androidx/ink/strokes/ImmutableStrokeInputBatch) | An immutable implementation of [StrokeInputBatch](/reference/androidx/ink/strokes/StrokeInputBatch). |\n| [InProgressStroke](/reference/androidx/ink/strokes/InProgressStroke) | Use an [InProgressStroke](/reference/androidx/ink/strokes/InProgressStroke) to efficiently build a stroke over multiple rendering frames with incremental inputs. |\n| [MeshCreation](/reference/androidx/ink/strokes/MeshCreation) | |\n| [MutableStrokeInputBatch](/reference/androidx/ink/strokes/MutableStrokeInputBatch) | A mutable implementation of [StrokeInputBatch](/reference/androidx/ink/strokes/StrokeInputBatch). |\n| [Stroke](/reference/androidx/ink/strokes/Stroke) | An immutable object comprised of a [StrokeInputBatch](/reference/androidx/ink/strokes/StrokeInputBatch) that represents a user-drawn (or sometimes synthetic) path, a [Brush](/reference/androidx/ink/brush/Brush) that contains information on how that path should be converted into a geometric shape and rendered on screen, and a [PartitionedMesh](/reference/androidx/ink/geometry/PartitionedMesh) which is the geometric shape calculated from the combination of the [StrokeInputBatch](/reference/androidx/ink/strokes/StrokeInputBatch) and the [Brush](/reference/androidx/ink/brush/Brush). |\n| [StrokeInput](/reference/androidx/ink/strokes/StrokeInput) | A single input specifying position, time since the start of the stream, and optionally [pressure](/reference/androidx/ink/strokes/StrokeInput#pressure()), [tiltRadians](/reference/androidx/ink/strokes/StrokeInput#tiltRadians()), and [orientationRadians](/reference/androidx/ink/strokes/StrokeInput#orientationRadians()). |\n| [StrokeInputBatch](/reference/androidx/ink/strokes/StrokeInputBatch) | A read-only view of an object that stores multiple [StrokeInput](/reference/androidx/ink/strokes/StrokeInput) values together in a more memory-efficient manner than just `List\u003cStrokeInput\u003e`. |\n| [StrokeInputBatch.Companion](/reference/androidx/ink/strokes/StrokeInputBatch.Companion) | |"]]