Paint.HorizontalGauge.HorizontalGauge C# (CSharp) Method

HorizontalGauge() public method

Initializes a new instance of the Paint.HorizontalGauge class.
public HorizontalGauge ( 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 HorizontalGauge(Color backgroundColor, IGraphicsDisplay graphicsDisplay, Rectangle bounds, int markerWidth, Color gaugeColor, float startMarker)
            : base(backgroundColor, graphicsDisplay, bounds, markerWidth, gaugeColor, startMarker)
        {
            this.gaugeRectangle = new Rectangle(bounds.X, bounds.Y + (bounds.Height / 3), bounds.Width, bounds.Height / 3);
        }