C# Class WritePadXamarinSample.InkView

Inheritance: Android.Views.View
Afficher le fichier Open project: phatware/WritePadSDK Class Usage Examples

Méthodes publiques

Méthode Description
InkView ( Android.Content.Context context ) : System
InkView ( Android.Content.Context context, IAttributeSet attrs ) : System
InkView ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
OnTouchEvent ( Android.Views.MotionEvent ev ) : bool
Recognize ( bool bLearn ) : string
cleanView ( bool emptyAll ) : void

Méthodes protégées

Méthode Description
InkView ( IntPtr javaReference, JniHandleOwnership transfer ) : System
OnDraw ( Android.Graphics.Canvas canvas ) : void

Private Methods

Méthode Description
AddCurrentPoint ( float mX, float mY ) : void
AddPixelsXY ( float X, float Y, bool bLastPoint ) : int
touch_move ( float x, float y ) : void
touch_start ( float x, float y ) : void
touch_up ( float x, float y ) : void

Method Details

InkView() public méthode

public InkView ( Android.Content.Context context ) : System
context Android.Content.Context
Résultat System

InkView() public méthode

public InkView ( Android.Content.Context context, IAttributeSet attrs ) : System
context Android.Content.Context
attrs IAttributeSet
Résultat System

InkView() public méthode

public InkView ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
context Android.Content.Context
attrs IAttributeSet
defStyle int
Résultat System

InkView() protected méthode

protected InkView ( IntPtr javaReference, JniHandleOwnership transfer ) : System
javaReference System.IntPtr
transfer JniHandleOwnership
Résultat System

OnDraw() protected méthode

protected OnDraw ( Android.Graphics.Canvas canvas ) : void
canvas Android.Graphics.Canvas
Résultat void

OnTouchEvent() public méthode

public OnTouchEvent ( Android.Views.MotionEvent ev ) : bool
ev Android.Views.MotionEvent
Résultat bool

Recognize() public méthode

public Recognize ( bool bLearn ) : string
bLearn bool
Résultat string

cleanView() public méthode

public cleanView ( bool emptyAll ) : void
emptyAll bool
Résultat void