mtInertia.Picture.Draw C# (CSharp) Method

Draw() public method

public Draw ( Graphics graphics ) : void
graphics System.Drawing.Graphics
return void
        public void Draw(Graphics graphics)
        {
            Bitmap image = TransformImage();
            graphics.DrawImage(image, new PointF(Translate.Width - Width * ScalingFactor.Width / 2, Translate.Height - ScalingFactor.Height * Height / 2));
        }
    }