AI-generated Key Takeaways
-
The
Ink.Stroke.Builder
class is used to buildInk.Stroke
objects. -
You can add touch points to a stroke using the
addPoint
method. -
The
build
method returns the completedInk.Stroke
object.
public static class Ink.Stroke.Builder extends Object
Builder for the Ink.Stroke
class.
Public Method Summary
Ink.Stroke.Builder | |
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.