public class

StrokeEventArg

extends Object
java.lang.Object
   ↳ com.htc.painting.engine.StrokeEventArg
Known Direct Subclasses

Class Overview

This class used to indicate stroke event related information in OnStrokeListener

Summary

Nested Classes
enum StrokeEventArg.StrokeEndingState NotEnding: stroke begin or still moving Standard: action_up to end stroke ForceEnding: out of boundary or abnormal state such as WindowFocusChange or start a new stroke but not end previous stroke  
class StrokeEventArg.StrokeMoveEventArg This class contains information related to a move event  
enum StrokeEventArg.StrokeStatus Effective : This is valid stroke that will be shown in PaintingView Ineffective : An ineffective stroke will not be shown in PaintingView Ex. 
class StrokeEventArg.StrokeStatusChangeEventArg This Event argument tell stroke status is changed in undo/redo action  
Fields
protected final WeakReference<Stroke> mStoke
Public Constructors
StrokeEventArg(Stroke d, int groupId)
Public Methods
int getGroupId()
WeakReference<Stroke> getStroke()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final WeakReference<Stroke> mStoke

Since: API Level 2.0

Public Constructors

public StrokeEventArg (Stroke d, int groupId)

Since: API Level 2.0

Public Methods

public int getGroupId ()

Since: API Level 2.0

public WeakReference<Stroke> getStroke ()

Since: API Level 2.0