C# Class ImageGlass.ImageListView.ImageListViewRenderers.DebugRenderer

Represents a renderer meant to be used for debugging purposes. Included in the debug build only.
Inheritance: ImageListView.ImageListViewRenderer
Show file Open project: d2phap/ImageGlass

Public Methods

Method Description
DebugRenderer ( ) : System

Initializes a new instance of the DebugRenderer class.

DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void

Draws the specified item on the given graphics.

DrawOverlay ( Graphics g, Rectangle bounds ) : void

Draws an overlay image over the client area.

Method Details

DebugRenderer() public method

Initializes a new instance of the DebugRenderer class.
public DebugRenderer ( ) : System
return System

DrawItem() public method

Draws the specified item on the given graphics.
public DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
state ItemState The current view state of item.
bounds System.Drawing.Rectangle The bounding rectangle of item in client coordinates.
return void

DrawOverlay() public method

Draws an overlay image over the client area.
public DrawOverlay ( Graphics g, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
bounds System.Drawing.Rectangle The bounding rectangle of the client area.
return void