C# 클래스 SukuSuku.UI

GUI操作関数群を定義しているクラス スクリプト側ではこの中の関数が呼ばれることでGUI操作を行う
파일 보기 프로젝트 열기: furaga/SukuSuku

공개 프로퍼티들

프로퍼티 타입 설명
slowPlayFlag bool

공개 메소드들

메소드 설명
HighlightPoint ( int x, int y ) : void
UI ( MainForm owner ) : System
capture ( Rectangle rect, string imageName = null ) : string
capture ( int x, int y, int w, int h, string imageName = null ) : string
click ( int x, int y, MouseEventFlags flg1, MouseEventFlags flg2, int cnt ) : void
click ( string imageName, MouseEventFlags flg1, MouseEventFlags flg2, int cnt, double threshold ) : void
doubleClick ( Rectangle rect ) : void
doubleClick ( int x, int y ) : void
doubleClick ( string imageName, double threshold = -1 ) : void
drag ( Rectangle rect ) : void
drag ( int x, int y ) : void
drag ( string imageName, double threshold = -1 ) : void
dragAndDrop ( Rectangle rect1, Rectangle rect2 ) : void
dragAndDrop ( int x1, int y1, int x2, int y2 ) : void
dragAndDrop ( string imageName1, string imageName2, double threshold1 = -1, double threshold2 = -1 ) : void
drop ( Rectangle rect ) : void
drop ( int x, int y ) : void
drop ( string imageName, double threshold = -1 ) : void
exist ( string imageName, double threshold = -1 ) : bool
find ( string imageName, double threshold = -1 ) : Rectangle
leftClick ( Rectangle rect ) : void
leftClick ( int x, int y ) : void
leftClick ( string imageName, double threshold = -1 ) : void
messageBox ( string text ) : void
mouseMove ( Rectangle rect ) : void
mouseMove ( int x, int y ) : void
mouseMove ( string imageName, double threshold = -1 ) : void
paste ( Rectangle rect, string text ) : void
paste ( int x, int y, string text ) : void
paste ( string text ) : void
paste ( string imageName, string text, double threshold = -1 ) : void
rightClick ( Rectangle rect ) : void
rightClick ( int x, int y ) : void
rightClick ( string imageName, double threshold = -1 ) : void
type ( Rectangle rect, string text ) : void
type ( int x, int y, string text ) : void
type ( string text ) : void
type ( string imageName, string text, double threshold = -1 ) : void
wait ( string imageName, int timeout = 100, double threshold = -1 ) : Rectangle
waitVanish ( string imageName, int timeout = 100, double threshold = -1 ) : void

비공개 메소드들

메소드 설명
findTemplatePoint ( string imageName, double threshold ) : Point?
mouse_event ( UInt32 dwFlags, UInt32 dx, UInt32 dy, UInt32 dwData, IntPtr dwExtraInfo ) : void

메소드 상세

HighlightPoint() 공개 메소드

public HighlightPoint ( int x, int y ) : void
x int
y int
리턴 void

UI() 공개 메소드

public UI ( MainForm owner ) : System
owner MainForm
리턴 System

capture() 공개 메소드

public capture ( Rectangle rect, string imageName = null ) : string
rect System.Drawing.Rectangle
imageName string
리턴 string

capture() 공개 메소드

public capture ( int x, int y, int w, int h, string imageName = null ) : string
x int
y int
w int
h int
imageName string
리턴 string

click() 공개 메소드

public click ( int x, int y, MouseEventFlags flg1, MouseEventFlags flg2, int cnt ) : void
x int
y int
flg1 MouseEventFlags
flg2 MouseEventFlags
cnt int
리턴 void

click() 공개 메소드

public click ( string imageName, MouseEventFlags flg1, MouseEventFlags flg2, int cnt, double threshold ) : void
imageName string
flg1 MouseEventFlags
flg2 MouseEventFlags
cnt int
threshold double
리턴 void

doubleClick() 공개 메소드

public doubleClick ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

doubleClick() 공개 메소드

public doubleClick ( int x, int y ) : void
x int
y int
리턴 void

doubleClick() 공개 메소드

public doubleClick ( string imageName, double threshold = -1 ) : void
imageName string
threshold double
리턴 void

drag() 공개 메소드

public drag ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

drag() 공개 메소드

public drag ( int x, int y ) : void
x int
y int
리턴 void

drag() 공개 메소드

public drag ( string imageName, double threshold = -1 ) : void
imageName string
threshold double
리턴 void

dragAndDrop() 공개 메소드

public dragAndDrop ( Rectangle rect1, Rectangle rect2 ) : void
rect1 System.Drawing.Rectangle
rect2 System.Drawing.Rectangle
리턴 void

dragAndDrop() 공개 메소드

public dragAndDrop ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
리턴 void

dragAndDrop() 공개 메소드

public dragAndDrop ( string imageName1, string imageName2, double threshold1 = -1, double threshold2 = -1 ) : void
imageName1 string
imageName2 string
threshold1 double
threshold2 double
리턴 void

drop() 공개 메소드

public drop ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

drop() 공개 메소드

public drop ( int x, int y ) : void
x int
y int
리턴 void

drop() 공개 메소드

public drop ( string imageName, double threshold = -1 ) : void
imageName string
threshold double
리턴 void

exist() 공개 메소드

public exist ( string imageName, double threshold = -1 ) : bool
imageName string
threshold double
리턴 bool

find() 공개 메소드

public find ( string imageName, double threshold = -1 ) : Rectangle
imageName string
threshold double
리턴 System.Drawing.Rectangle

leftClick() 공개 메소드

public leftClick ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

leftClick() 공개 메소드

public leftClick ( int x, int y ) : void
x int
y int
리턴 void

leftClick() 공개 메소드

public leftClick ( string imageName, double threshold = -1 ) : void
imageName string
threshold double
리턴 void

messageBox() 공개 메소드

public messageBox ( string text ) : void
text string
리턴 void

mouseMove() 공개 메소드

public mouseMove ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

mouseMove() 공개 메소드

public mouseMove ( int x, int y ) : void
x int
y int
리턴 void

mouseMove() 공개 메소드

public mouseMove ( string imageName, double threshold = -1 ) : void
imageName string
threshold double
리턴 void

paste() 공개 메소드

public paste ( Rectangle rect, string text ) : void
rect System.Drawing.Rectangle
text string
리턴 void

paste() 공개 메소드

public paste ( int x, int y, string text ) : void
x int
y int
text string
리턴 void

paste() 공개 메소드

public paste ( string text ) : void
text string
리턴 void

paste() 공개 메소드

public paste ( string imageName, string text, double threshold = -1 ) : void
imageName string
text string
threshold double
리턴 void

rightClick() 공개 메소드

public rightClick ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

rightClick() 공개 메소드

public rightClick ( int x, int y ) : void
x int
y int
리턴 void

rightClick() 공개 메소드

public rightClick ( string imageName, double threshold = -1 ) : void
imageName string
threshold double
리턴 void

type() 공개 메소드

public type ( Rectangle rect, string text ) : void
rect System.Drawing.Rectangle
text string
리턴 void

type() 공개 메소드

public type ( int x, int y, string text ) : void
x int
y int
text string
리턴 void

type() 공개 메소드

public type ( string text ) : void
text string
리턴 void

type() 공개 메소드

public type ( string imageName, string text, double threshold = -1 ) : void
imageName string
text string
threshold double
리턴 void

wait() 공개 메소드

public wait ( string imageName, int timeout = 100, double threshold = -1 ) : Rectangle
imageName string
timeout int
threshold double
리턴 System.Drawing.Rectangle

waitVanish() 공개 메소드

public waitVanish ( string imageName, int timeout = 100, double threshold = -1 ) : void
imageName string
timeout int
threshold double
리턴 void

프로퍼티 상세

slowPlayFlag 공개적으로 프로퍼티

public bool slowPlayFlag
리턴 bool