C# Class Smrf.NodeXL.Visualization.Wpf.GraphDrawingContext

Provides access to objects needed for graph-drawing operations.
Inheritance: VisualizationBase
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_iMargin System.Int32
m_oBackColor Color
m_oGraphRectangle System.Windows.Rect

Public Methods

Method Description
AssertValid ( ) : void
GraphDrawingContext ( Rect graphRectangle, Int32 margin, Color backColor ) : System

Initializes a new instance of the GraphDrawingContext class.

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

GraphDrawingContext() public method

Initializes a new instance of the GraphDrawingContext class.
public GraphDrawingContext ( Rect graphRectangle, Int32 margin, Color backColor ) : System
graphRectangle System.Windows.Rect /// The the graph is being drawn within. ///
margin System.Int32 /// The margin that was used to lay out the graph. If is {L=0, T=0, R=50, B=30} and is 5, for example, then the graph was laid out within /// the rectangle {L=5, T=5, R=45, B=25}. ///
backColor Color /// The graph's background color. ///
return System

Property Details

m_iMargin protected property

protected Int32,System m_iMargin
return System.Int32

m_oBackColor protected property

protected Color m_oBackColor
return Color

m_oGraphRectangle protected property

protected Rect,System.Windows m_oGraphRectangle
return System.Windows.Rect