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

Public Constructors

public Ink.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.