Class DefaultGraphRenderer
Inheritance
System.Object
DefaultGraphRenderer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GraphVisualizer
Syntax
public class DefaultGraphRenderer : IGraphRenderer
Constructors
DefaultGraphRenderer()
Declaration
public DefaultGraphRenderer()
Methods
Draw(IGraphLayout, Rect)
Declaration
public void Draw(IGraphLayout graphLayout, Rect drawingArea)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraphLayout | graphLayout | |
| Rect | drawingArea |
Implements
Draw(IGraphLayout, Rect, GraphSettings)
Declaration
public void Draw(IGraphLayout graphLayout, Rect totalDrawingArea, GraphSettings graphSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraphLayout | graphLayout | |
| Rect | totalDrawingArea | |
| GraphSettings | graphSettings |
Implements
DrawRect(Rect, Color, String, Boolean, Boolean)
Declaration
public void DrawRect(Rect rect, Color color, string text, bool active, bool selected = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | |
| Color | color | |
| System.String | text | |
| System.Boolean | active | |
| System.Boolean | selected |