Page Summary
-
Ink.Strokerepresents a sequence of touch points between pen/finger-down and pen/finger-up events. -
A builder,
Ink.Stroke.Builder, is available to construct instances ofInk.Stroke. -
The
getPointsInGlobalCoordinates()method returns a list of touch points in global coordinates, and is the preferred method overgetPoints().
Represents a sequence of touch points between a pen-/finger-down and a pen-/finger-up events.
Nested Class Summary
| class | Ink.Stroke.Builder | Builder for the Ink.Stroke
class. |
|
Public Constructor Summary
|
Stroke()
|
Public Method Summary
| static Ink.Stroke.Builder |
builder()
Static method returning a new builder of
Ink.Stroke.
|
| abstract List<Ink.Point> |
getPoints()
Use
getPointsInGlobalCoordinates() instead.
|
| List<? extends Point> |
getPointsInGlobalCoordinates()
Returns the list of touch points in global coordinates.
|
Inherited Method Summary
Public Constructors
public Stroke ()
Public Methods
public static Ink.Stroke.Builder builder ()
Static method returning a new builder of Ink.Stroke.
public abstract List<Ink.Point> getPoints ()
Use
getPointsInGlobalCoordinates() instead.