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

Retains information about how one vertex was drawn as a .
Inheritance: VertexDrawingHistory
Mostrar archivo Open project: 2014-sed-team3/term-project Class Usage Examples

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
SolidTaperedDiamondVertexDrawingHistory ( 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

SolidTaperedDiamondVertexDrawingHistory() public method

Initializes a new instance of the class.
public SolidTaperedDiamondVertexDrawingHistory ( 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 diamond that was drawn for . ///
return System

Property Details

m_dHalfWidth protected_oe property

protected Double m_dHalfWidth
return Double