C# Класс Paint.SpeedGauge

Speed gauge toolbox item
Наследование: ToolBoxToolTouchBase, ISpeedGauge
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Draw ( bool refreshDisplay ) : void

Draw this tool on to the image

SpeedGauge ( IGraphicsDisplay graphicsDisplay, SpeedGaugeDefinition speedGaugeDefinition ) : System

Initializes a new instance of the Paint.SpeedGauge class.

Защищенные методы

Метод Описание
HandleTouch ( ITouchPoint touchPosition ) : void

Handles a particular touch by the user

OnSpeedChanged ( EventArgs e ) : void

Raises the speed changed event.

Приватные методы

Метод Описание
CreateGauge ( IGraphicsDisplay graphicsDisplay ) : void

Creates the gauge.

CreateGraphicsRectangles ( IGraphicsDisplay graphicsDisplay ) : void

Creates the rectangles for the background graphics/icons on the gauge

Описание методов

Draw() публичный Метод

Draw this tool on to the image
public Draw ( bool refreshDisplay ) : void
refreshDisplay bool /// True = we should redraw the entire control /// False = just draw any updates ///
Результат void

HandleTouch() защищенный Метод

Handles a particular touch by the user
protected HandleTouch ( ITouchPoint touchPosition ) : void
touchPosition ITouchPoint Touch position.
Результат void

OnSpeedChanged() защищенный Метод

Raises the speed changed event.
protected OnSpeedChanged ( EventArgs e ) : void
e System.EventArgs /// Empty EventArgs. ///
Результат void

SpeedGauge() публичный Метод

Initializes a new instance of the Paint.SpeedGauge class.
public SpeedGauge ( IGraphicsDisplay graphicsDisplay, SpeedGaugeDefinition speedGaugeDefinition ) : System
graphicsDisplay IGraphicsDisplay raphics display.
speedGaugeDefinition SpeedGaugeDefinition Speed gauge definition.
Результат System