Ink

public abstract class Ink extends Object

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
builder()
Static method returning a new builder of Ink.
abstract List<Ink.Stroke>
getStrokes()
Returns the list of strokes.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

public Ink ()

Public Methods

public static Ink.Builder builder ()

Static method returning a new builder of Ink.

public abstract List<Ink.Stroke> getStrokes ()

Returns the list of strokes.