Paint.SpeedGauge.Draw C# (CSharp) Method

Draw() public method

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 ///
return void
        public override void Draw(bool refreshDisplay)
        {
            if (refreshDisplay)
            {
                this.BlankAndRedrawWithBorder();
                this.DrawGraphic(ImageType.SlowIcon, this.boundsLeftImage);
                this.DrawGraphic(ImageType.SpeedGaugeBackground, this.boundsMiddleImage);
                this.DrawGraphic(ImageType.SpeedIcon, this.boundsRightImage);
            }

            this.gauge.Draw(refreshDisplay);
        }