C# Class NekoKun.UseClipping

Set the clipping region until instance disposed.
Inheritance: IDisposable
Exibir arquivo Open project: NekoProject/NekoKun Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Revert clipping back to origina setting.

UseClipping ( Graphics g, GraphicsPath path ) : System

Initialize a new instance of the UseClipping class.

UseClipping ( Graphics g, Region region ) : System

Initialize a new instance of the UseClipping class.

Method Details

Dispose() public method

Revert clipping back to origina setting.
public Dispose ( ) : void
return void

UseClipping() public method

Initialize a new instance of the UseClipping class.
public UseClipping ( Graphics g, GraphicsPath path ) : System
g System.Drawing.Graphics Graphics instance.
path System.Drawing.Drawing2D.GraphicsPath Clipping path.
return System

UseClipping() public method

Initialize a new instance of the UseClipping class.
public UseClipping ( Graphics g, Region region ) : System
g System.Drawing.Graphics Graphics instance.
region System.Drawing.Region Clipping region.
return System