C# Class ComponentFactory.Krypton.Toolkit.Clipping

Restrict graphics clipping using the provided path/region instance.
Inheritance: GlobalId, IDisposable
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
Clipping ( Graphics graphics, GraphicsPath path ) : System

Initialize a new instance of the Clipping class.

Clipping ( Graphics graphics, GraphicsPath path, bool exclude ) : System

Initialize a new instance of the Clipping class.

Clipping ( Graphics graphics, Rectangle rect ) : System

Initialize a new instance of the Clipping class.

Clipping ( Graphics graphics, Rectangle rect, bool exclude ) : System

Initialize a new instance of the Clipping class.

Clipping ( Graphics graphics, Region region ) : System

Initialize a new instance of the Clipping class.

Clipping ( Graphics graphics, Region region, bool exclude ) : System

Initialize a new instance of the Clipping class.

Dispose ( ) : void

Reverse the smoothing mode change.

Method Details

Clipping() public method

Initialize a new instance of the Clipping class.
public Clipping ( Graphics graphics, GraphicsPath path ) : System
graphics System.Drawing.Graphics Graphics context.
path System.Drawing.Drawing2D.GraphicsPath Path to clip.
return System

Clipping() public method

Initialize a new instance of the Clipping class.
public Clipping ( Graphics graphics, GraphicsPath path, bool exclude ) : System
graphics System.Drawing.Graphics Graphics context.
path System.Drawing.Drawing2D.GraphicsPath Path to clip.
exclude bool Exclude path from clipping.
return System

Clipping() public method

Initialize a new instance of the Clipping class.
public Clipping ( Graphics graphics, Rectangle rect ) : System
graphics System.Drawing.Graphics Graphics context.
rect System.Drawing.Rectangle Clipping rectangle.
return System

Clipping() public method

Initialize a new instance of the Clipping class.
public Clipping ( Graphics graphics, Rectangle rect, bool exclude ) : System
graphics System.Drawing.Graphics Graphics context.
rect System.Drawing.Rectangle Clipping rectangle.
exclude bool Exclude rectangle from clipping.
return System

Clipping() public method

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

Clipping() public method

Initialize a new instance of the Clipping class.
public Clipping ( Graphics graphics, Region region, bool exclude ) : System
graphics System.Drawing.Graphics Graphics context.
region System.Drawing.Region Clipping region.
exclude bool Exclude region from clipping.
return System

Dispose() public method

Reverse the smoothing mode change.
public Dispose ( ) : void
return void