C# Класс Artemis.Utilities.Keyboard.KeyboardRectangle

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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