Paint.Gauge.Gauge C# (CSharp) Method

Gauge() public method

Initializes a new instance of the Paint.Gauge class.
public Gauge ( Color backgroundColor, IGraphicsDisplay graphicsDisplay, Rectangle bounds, int markerWidth, Color gaugeColor, float startMarker ) : System
backgroundColor Color
graphicsDisplay IGraphicsDisplay
bounds Microsoft.Xna.Framework.Rectangle
markerWidth int
gaugeColor Color
startMarker float
return System
        public Gauge(Color backgroundColor, IGraphicsDisplay graphicsDisplay, Rectangle bounds, int markerWidth, Color gaugeColor, float startMarker)
            : base(backgroundColor, graphicsDisplay, bounds)
        {
            this.CurrentMarker = this.PreviousMarker = startMarker;
            this.GaugeColor = gaugeColor;
            this.MarkerWidth = markerWidth;
        }