C# 클래스 Artemis.Utilities.Keyboard.KeyboardRectangle

파일 보기 프로젝트 열기: SpoinkyNL/Artemis 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Graphics g ) : void
KeyboardRectangle ( KeyboardProvider keyboard, int x, int y, List colors, LinearGradientMode gradientMode ) : System.Collections.Generic

Represents a Rectangle on the keyboard which can be drawn to a Bitmap. By default, a rectangle is the entire keyboard's size.

StartBlink ( int delay ) : void
StartBlink ( int delay, int time ) : void
StopBlink ( ) : void

비공개 메소드들

메소드 설명
BlinkWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateBrush ( ) : LinearGradientBrush
CreateColorBlend ( ) : System.Drawing.Drawing2D.ColorBlend
CreateTilebleColors ( List sourceColors ) : List

메소드 상세

Draw() 공개 메소드

public Draw ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

KeyboardRectangle() 공개 메소드

Represents a Rectangle on the keyboard which can be drawn to a Bitmap. By default, a rectangle is the entire keyboard's size.
public KeyboardRectangle ( KeyboardProvider keyboard, int x, int y, List colors, LinearGradientMode gradientMode ) : System.Collections.Generic
keyboard Artemis.DeviceProviders.KeyboardProvider The keyboard this rectangle will be used for
x int
y int
colors List An array of colors the ColorBlend will use
gradientMode LinearGradientMode
리턴 System.Collections.Generic

StartBlink() 공개 메소드

public StartBlink ( int delay ) : void
delay int
리턴 void

StartBlink() 공개 메소드

public StartBlink ( int delay, int time ) : void
delay int
time int
리턴 void

StopBlink() 공개 메소드

public StopBlink ( ) : void
리턴 void