C# Class SharpNeat.View.Graph.IOGraphViewportPainter

An IViewportPainter that paints IOGraph objects.
Inheritance: IViewportPainter
Afficher le fichier Open project: colgreen/sharpneat Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

IOGraphViewportPainter() public méthode

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

Paint() public méthode

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
Résultat void