Méthode | Description | |
---|---|---|
HandleTouch ( float xPosition ) : void |
Handles a particular touch/gesture made by the user
|
|
HorizontalGauge ( Color backgroundColor, IGraphicsDisplay graphicsDisplay, |
Initializes a new instance of the Paint.HorizontalGauge class.
|
Méthode | Description | |
---|---|---|
CreateGaugeRectangle ( ) : |
Simply creates a rectangle that defines the location and size of the gauge
|
|
CreateMarkerRectangle ( ) : |
Creates a rectangle that defines the location and size of the marker
|
|
HandleTouch ( ITouchPoint touch ) : void |
Handles a particular touch/gesture made by the user
|
Méthode | Description | |
---|---|---|
BoundedX ( int xPosition ) : int |
Ensures the specified x co-ordinate is inside the bounds of the gauage
|
protected CreateGaugeRectangle ( ) : |
||
Résultat |
protected CreateMarkerRectangle ( ) : |
||
Résultat |
protected HandleTouch ( ITouchPoint touch ) : void | ||
touch | ITouchPoint | /// The position and type of gesture/touch made /// |
Résultat | void |
public HandleTouch ( float xPosition ) : void | ||
xPosition | float | /// The x-position of the touch /// (This is all we are interested in) /// |
Résultat | void |
public HorizontalGauge ( Color backgroundColor, IGraphicsDisplay graphicsDisplay, |
||
backgroundColor | Color | |
graphicsDisplay | IGraphicsDisplay | |
bounds | ||
markerWidth | int | |
gaugeColor | Color | |
startMarker | float | |
Résultat | System |