C# 클래스 Paint.SpeedGauge

Speed gauge toolbox item
상속: ToolBoxToolTouchBase, ISpeedGauge
파일 보기 프로젝트 열기: RandolphBurt/MonoGame-iOS-SimplePaint 1 사용 예제들

공개 메소드들

메소드 설명
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