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

Retains information about how one vertex was drawn as a .
Inheritance: VertexDrawingHistory
Show file Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_dRadius Double

Public Methods

Method Description
AssertValid ( ) : void
CircleVertexDrawingHistory ( IVertex vertex, System.Windows.Media.DrawingVisual drawingVisual, System.Boolean drawnAsSelected, Double radius ) : System

Initializes a new instance of the class.

GetBounds ( ) : System.Windows.Media.Geometry
GetEdgeEndpoint ( Point otherEndpoint, Point &edgeEndpoint ) : void
GetLabelLocation ( VertexLabelPosition labelPosition ) : Point
GetSelfLoopEndpoint ( RectangleEdge farthestGraphRectangleEdge ) : Point

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

CircleVertexDrawingHistory() public method

Initializes a new instance of the class.
public CircleVertexDrawingHistory ( IVertex vertex, System.Windows.Media.DrawingVisual drawingVisual, System.Boolean drawnAsSelected, Double radius ) : System
vertex IVertex /// The vertex that was drawn. ///
drawingVisual System.Windows.Media.DrawingVisual /// The DrawingVisual object that was used to draw the vertex. ///
drawnAsSelected System.Boolean /// true if the vertex was drawn as selected. ///
radius Double /// The radius of . ///
return System

GetBounds() public method

public GetBounds ( ) : System.Windows.Media.Geometry
return System.Windows.Media.Geometry

GetEdgeEndpoint() public method

public GetEdgeEndpoint ( Point otherEndpoint, Point &edgeEndpoint ) : void
otherEndpoint Point
edgeEndpoint Point
return void

GetLabelLocation() public method

public GetLabelLocation ( VertexLabelPosition labelPosition ) : Point
labelPosition VertexLabelPosition
return Point

GetSelfLoopEndpoint() public method

public GetSelfLoopEndpoint ( RectangleEdge farthestGraphRectangleEdge ) : Point
farthestGraphRectangleEdge RectangleEdge
return Point

Property Details

m_dRadius protected property

protected Double m_dRadius
return Double