C# 클래스 WritePadSDK_WPFSample.MainWindow

파일 보기 프로젝트 열기: phatware/WritePadSDK

공개 메소드들

메소드 설명
AddStroke ( System.Windows.Shapes.Polyline currentStroke ) : void
DictionaryChanged ( ) : void
Distance ( double x1, double y1, double x2, double y2 ) : double
FinishStrokeDraw ( ) : void
MainWindow ( ) : System
RecognizeStrokes ( List strokes, bool bLearn ) : string

n Recognizes a collection of Polyline objects into text. Words are recognized with alternatives, eash weighted with probability.

비공개 메소드들

메소드 설명
AddPixelToStroke ( ) : void
ClearAllClick ( object sender, RoutedEventArgs e ) : void
ClearInk ( ) : void
DrawGrid ( ) : void
InkCanvas_OnMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
LanguagesCombo_OnSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
MainWindow_OnClosing ( object sender, CancelEventArgs e ) : void
MainWindow_OnLoaded ( object sender, RoutedEventArgs e ) : void
OnCanvasPointerMoved ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnCanvasPointerPressed ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnCanvasPointerReleased ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OptionsClick ( object sender, RoutedEventArgs e ) : void
PointerReleased ( ) : void
RecognizeAllClick ( object sender, RoutedEventArgs e ) : void
StartAddingStroke ( Point pt ) : void
UpdateSelectedLanguage ( WritePadAPI langId ) : void

메소드 상세

AddStroke() 공개 메소드

public AddStroke ( System.Windows.Shapes.Polyline currentStroke ) : void
currentStroke System.Windows.Shapes.Polyline
리턴 void

DictionaryChanged() 공개 메소드

public DictionaryChanged ( ) : void
리턴 void

Distance() 공개 정적인 메소드

public static Distance ( double x1, double y1, double x2, double y2 ) : double
x1 double
y1 double
x2 double
y2 double
리턴 double

FinishStrokeDraw() 공개 메소드

public FinishStrokeDraw ( ) : void
리턴 void

MainWindow() 공개 메소드

public MainWindow ( ) : System
리턴 System

RecognizeStrokes() 공개 메소드

n Recognizes a collection of Polyline objects into text. Words are recognized with alternatives, eash weighted with probability.
public RecognizeStrokes ( List strokes, bool bLearn ) : string
strokes List Strokes to recognize
bLearn bool
리턴 string