AI-generated Key Takeaways
-
Ink.Builder is used to build an Ink object.
-
You can add strokes to the builder using the addStroke method.
-
The build method returns the final Ink object.
-
The isEmpty method checks if the builder contains any strokes.
public static class Ink.Builder extends Object
Builder for the Ink
class.
Public Constructor Summary
Builder()
|
Public Method Summary
Ink.Builder | |
Ink | |
boolean |
isEmpty()
Returns true if the builder contains no strokes.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public Ink.Builder addStroke (Stroke stroke)
Adds a stroke to the ink.
public boolean isEmpty ()
Returns true if the builder contains no strokes.