System.Drawing.Drawing2D.HatchBrush.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( bool disposing ) : void
disposing bool
return void
        public override void Dispose(bool disposing)
        {
            if (disposing){
            }
        }

Usage Example

 /// <summary>
 /// Instructs the drawing code to fill the specified path with the specified pattern
 /// </summary>
 /// <param name="g">The System.Drawing.Graphics device to draw to</param>
 /// <param name="gp">The System.Drawing.Drawing2D.GraphicsPath to fill</param>
 public override void FillPath(Graphics g, GraphicsPath gp)
 {
     System.Drawing.Drawing2D.HatchBrush hb = new HatchBrush(_hatchStyle, _foreColor, _backColor);
     g.FillPath(hb, gp);
     hb.Dispose();
     base.FillPath(g, gp);
 }
All Usage Examples Of System.Drawing.Drawing2D.HatchBrush::Dispose