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

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

Protected Properties

Property Type Description
m_oRectangle System.Windows.Rect

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
RectangleVertexDrawingHistory ( IVertex vertex, System.Windows.Media.DrawingVisual drawingVisual, System.Boolean drawnAsSelected, Rect rectangle ) : 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

RectangleVertexDrawingHistory() public method

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

Property Details

m_oRectangle protected_oe property

protected Rect,System.Windows m_oRectangle
return System.Windows.Rect