Ink.Stroke.Builder

  • The Ink.Stroke.Builder class is used to build Ink.Stroke objects.

  • You can add touch points to a stroke using the addPoint method.

  • The build method returns the completed Ink.Stroke object.

public static class Ink.Stroke.Builder extends Object

Builder for the Ink.Stroke class.

Public Method Summary

Ink.Stroke.Builder
addPoint(Ink.Point point)
Adds a touch point to the stroke.
Ink.Stroke
build()
Returns the built Ink.Stroke object.

Inherited Method Summary

Public Methods

public Ink.Stroke.Builder addPoint (Ink.Point point)

Adds a touch point to the stroke.

public Ink.Stroke build ()

Returns the built Ink.Stroke object.