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

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

Protected Properties

Свойство Type Description
m_oRectangle System.Windows.Rect

Méthodes publiques

Méthode 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 méthode

public AssertValid ( ) : void
Résultat void

GetBounds() public méthode

public GetBounds ( ) : System.Windows.Media.Geometry
Résultat System.Windows.Media.Geometry

GetEdgeEndpoint() public méthode

public GetEdgeEndpoint ( Point otherEndpoint, Point &edgeEndpoint ) : void
otherEndpoint Point
edgeEndpoint Point
Résultat void

GetLabelLocation() public méthode

public GetLabelLocation ( VertexLabelPosition labelPosition ) : Point
labelPosition VertexLabelPosition
Résultat Point

GetSelfLoopEndpoint() public méthode

public GetSelfLoopEndpoint ( RectangleEdge farthestGraphRectangleEdge ) : Point
farthestGraphRectangleEdge RectangleEdge
Résultat Point

RectangleVertexDrawingHistory() public méthode

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 . ///
Résultat System

Property Details

m_oRectangle protected_oe property

protected Rect,System.Windows m_oRectangle
Résultat System.Windows.Rect