Ink.Builder

public static class Ink.Builder extends Object

Builder for the Ink class.

Public Constructor Summary

Public Method Summary

Ink.Builder
addStroke(Ink.Stroke stroke)
Adds a stroke to the ink.
Ink
build()
Returns the final Ink object.
boolean
isEmpty()
Returns true if the builder contains no 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 Builder ()

Public Methods

public Ink.Builder addStroke (Ink.Stroke stroke)

Adds a stroke to the ink.

public Ink build ()

Returns the final Ink object.

public boolean isEmpty ()

Returns true if the builder contains no strokes.