Smrf.NodeXL.Visualization.Wpf.DraggedVertices.DraggedVertices C# (CSharp) Method

DraggedVertices() public method

Initializes a new instance of the DraggedVertices class.
public DraggedVertices ( IVertex vertices, Point mouseDownLocation, Rect graphRectangle, Int32 margin ) : System
vertices IVertex /// An array of one or more vertices being dragged. ///
mouseDownLocation Point /// Location where the vertex was clicked, in client coordinates. ///
graphRectangle System.Windows.Rect /// The graph rectangle. ///
margin System.Int32 /// The graph margin. ///
return System
    public DraggedVertices
    (
        IVertex [] vertices,
        Point mouseDownLocation,
        Rect graphRectangle,
        Int32 margin
    )
    : base(mouseDownLocation, graphRectangle, margin)
    {
        m_aoVertices = vertices;

        // Add required metadata to the vertices being dragged.

        AddMetadataToVertices();

        AssertValid();
    }