Stroke

public interface Stroke
Known Indirect Subclasses
Represents a sequence of touch points between a pen-/finger-down and a pen-/finger-up events. 

Represents a sequence of touch points between a pen-/finger-down and a pen-/finger-up events.

Nested Class Summary

interface
Represents optional properties of a Stroke , e.g., stroke color and width. 

Public Method Summary

abstract List <? extends  Point >
getPointsInGlobalCoordinates ()
Returns the list of touch points in global coordinates.
abstract Stroke.Properties
getProperties ()
Returns optional Stroke.Properties of a Stroke .

Public Methods

public abstract List <? extends  Point > getPointsInGlobalCoordinates ()

Returns the list of touch points in global coordinates.

public abstract Stroke.Properties getProperties ()

Returns optional Stroke.Properties of a Stroke .

Based on the properties, the stroke can be treated as either a regular ink stroke, or a special type, like highlighter.

Create a Mobile Website
View Site in Mobile | Classic
Share by: