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

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_dHalfWidth Double

Public Methods

Method Description
AssertValid ( ) : void
GetBounds ( ) : System.Windows.Media.Geometry
GetEdgeEndpoint ( Point otherEndpoint, Point &edgeEndpoint ) : void
GetLabelLocation ( VertexLabelPosition labelPosition ) : Point
GetSelfLoopEndpoint ( RectangleEdge farthestGraphRectangleEdge ) : Point
TriangleVertexDrawingHistory ( IVertex vertex, System.Windows.Media.DrawingVisual drawingVisual, System.Boolean drawnAsSelected, Double halfWidth ) : System

Initializes a new instance of the class.

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

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

TriangleVertexDrawingHistory() public method

Initializes a new instance of the class.
public TriangleVertexDrawingHistory ( IVertex vertex, System.Windows.Media.DrawingVisual drawingVisual, System.Boolean drawnAsSelected, Double halfWidth ) : 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. ///
halfWidth Double /// The half-width of the triangle that was drawn for . ///
return System

Property Details

m_dHalfWidth protected property

protected Double m_dHalfWidth
return Double