Since: API Level 2.0
package

com.htc.painting.engine

Interfaces

HtcPaintingView.OnCacheListener Interface definition for a callback to be invoked when an Cache events occur. 
IPaintingCallBack Interface defines callback interface for painting view tasks This is used when painting view is executing time-comsuming operations Ex. 
IPaintingCallBack.IActionCallback This is the callback for data related operations Ex. 
IPaintingView The IPaintingView interface represents a view that provides some basic drawing operations such as: - draw strokes - draw strokes with different textures - undo/redo 
IPaintingView.OnPaintingViewListener Interface definition for a callback to be invoked when an PaintingView event occurs. 
IStrokeNotifyPaintingView The IStrokeNotifyPaintingView extends the IPainitingView. 
IStrokeNotifyPaintingView.OnStrokeListener Interface definition for a callback to be invoked when an Stroke event occurs. 

Classes

AbsSerializeDAO This class defines the functions that will be used for HtcPaintingView
HtcPaintingUtil This class provides some drawing utilities. 
HtcPaintingView This class is an implementation of IStrokeNotifyPaintingView
HtcPen Provide more properties related to stroke Properties  
HtcPen.EraserPen  
MotionPoint Motion data used by HtcPaintingView. 
StrokeEventArg This class used to indicate stroke event related information in OnStrokeListener  
StrokeEventArg.StrokeMoveEventArg This class contains information related to a move event  
StrokeEventArg.StrokeStatusChangeEventArg This Event argument tell stroke status is changed in undo/redo action  
StrokeProperties This class defines the set of current drawing properties. 
ViewPort This class defines the functions that HtcPaintingView will need to draw the Strokes. 

Enums

IPaintingCallBack.ActionResult  
IPaintingCallBack.ActionType  
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  
StrokeEventArg.StrokeStatus Effective : This is valid stroke that will be shown in PaintingView Ineffective : An ineffective stroke will not be shown in PaintingView Ex.