C# Class Artemis.Utilities.Keyboard.KeyboardRectangle

Afficher le fichier Open project: SpoinkyNL/Artemis Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
BlinkWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateBrush ( ) : LinearGradientBrush
CreateColorBlend ( ) : System.Drawing.Drawing2D.ColorBlend
CreateTilebleColors ( List sourceColors ) : List

Method Details

Draw() public méthode

public Draw ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

KeyboardRectangle() public méthode

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
Résultat System.Collections.Generic

StartBlink() public méthode

public StartBlink ( int delay ) : void
delay int
Résultat void

StartBlink() public méthode

public StartBlink ( int delay, int time ) : void
delay int
time int
Résultat void

StopBlink() public méthode

public StopBlink ( ) : void
Résultat void