AI-generated Key Takeaways
-
The
Inkclass represents user input as a sequence of strokes and is used as input forDigitalInkRecognizer. -
The
Inkclass has nested classes forInk.Builder,Ink.Point, andInk.Stroke. -
You can create an
Inkobject using its public constructor or the staticbuilder()method. -
The
getStrokes()method returns a list of the strokes that make up the Ink.
Represents the user input as a sequence of Ink.Strokes
and serves as input for
DigitalInkRecognizer.
Nested Class Summary
| class | Ink.Builder | Builder for the Ink
class. |
|
| class | Ink.Point | A single touch point (horizontal and vertical coordinates). | |
| class | Ink.Stroke | Represents a sequence of touch points between a pen-/finger-down and a pen-/finger-up events. | |
Public Constructor Summary
|
Ink()
|
Public Method Summary
| static Ink.Builder | |
| abstract List<? extends Stroke> |
getStrokes()
Returns the list of strokes.
|
Inherited Method Summary
Public Constructors
public Ink ()
Public Methods
public static Ink.Builder builder ()
Static method returning a new builder of Ink.