C# Class WritePadXamarinSample.InkView

Inheritance: Android.Views.View
Mostrar archivo Open project: phatware/WritePadSDK Class Usage Examples

Public Methods

Method 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

Protected Methods

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

Private Methods

Method 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 method

public InkView ( Android.Content.Context context ) : System
context Android.Content.Context
return System

InkView() public method

public InkView ( Android.Content.Context context, IAttributeSet attrs ) : System
context Android.Content.Context
attrs IAttributeSet
return System

InkView() public method

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

InkView() protected method

protected InkView ( IntPtr javaReference, JniHandleOwnership transfer ) : System
javaReference System.IntPtr
transfer JniHandleOwnership
return System

OnDraw() protected method

protected OnDraw ( Android.Graphics.Canvas canvas ) : void
canvas Android.Graphics.Canvas
return void

OnTouchEvent() public method

public OnTouchEvent ( Android.Views.MotionEvent ev ) : bool
ev Android.Views.MotionEvent
return bool

Recognize() public method

public Recognize ( bool bLearn ) : string
bLearn bool
return string

cleanView() public method

public cleanView ( bool emptyAll ) : void
emptyAll bool
return void