C# Class SharpNeat.View.Graph.IOGraphViewportPainter

An IViewportPainter that paints IOGraph objects.
Inheritance: IViewportPainter
Exibir arquivo Open project: colgreen/sharpneat Class Usage Examples

Public Methods

Method Description
IOGraphViewportPainter ( IOGraphPainter graphPainter ) : System.Drawing

Constructs with the provided graph painter and a default layout manager.

IOGraphViewportPainter ( IOGraphPainter graphPainter, ILayoutManager layoutManager ) : System.Drawing

Constructs with the provided graph painter and layout manager.

Paint ( Graphics g, Rectangle viewportArea, float zoomFactor ) : void

Paints the wrapped IOGraph onto the specified viewport. Does nothing if no IOGraph has been provided.

Method Details

IOGraphViewportPainter() public method

Constructs with the provided graph painter and a default layout manager.
public IOGraphViewportPainter ( IOGraphPainter graphPainter ) : System.Drawing
graphPainter IOGraphPainter
return System.Drawing

IOGraphViewportPainter() public method

Constructs with the provided graph painter and layout manager.
public IOGraphViewportPainter ( IOGraphPainter graphPainter, ILayoutManager layoutManager ) : System.Drawing
graphPainter IOGraphPainter
layoutManager ILayoutManager
return System.Drawing

Paint() public method

Paints the wrapped IOGraph onto the specified viewport. Does nothing if no IOGraph has been provided.
public Paint ( Graphics g, Rectangle viewportArea, float zoomFactor ) : void
g System.Drawing.Graphics
viewportArea System.Drawing.Rectangle
zoomFactor float
return void