Property | Type | Description | |
---|---|---|---|
CurrentMarker | float | ||
GaugeColor | Color | ||
MarkerWidth | int | ||
PreviousMarker | float |
Method | Description | |
---|---|---|
Draw ( bool refreshDisplay ) : void |
Draw the gauge.
|
|
Gauge ( Color backgroundColor, IGraphicsDisplay graphicsDisplay, |
Initializes a new instance of the Paint.Gauge class.
|
Method | 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
|
|
OnMarkerChanged ( |
Raises the marker changed event.
|
protected abstract CreateGaugeRectangle ( ) : |
||
return |
protected abstract CreateMarkerRectangle ( ) : |
||
return |
public Draw ( bool refreshDisplay ) : void | ||
refreshDisplay | bool | /// True = we should completely redraw the gauge /// False = we should just draw the regions that have changed since we last drew the gauge /// |
return | void |
public Gauge ( Color backgroundColor, IGraphicsDisplay graphicsDisplay, |
||
backgroundColor | Color | |
graphicsDisplay | IGraphicsDisplay | |
bounds | ||
markerWidth | int | |
gaugeColor | Color | |
startMarker | float | |
return | System |
protected OnMarkerChanged ( |
||
e | /// Any relevant EventArgs - should be EventArgs.Empty /// | |
return | void |