protected override void OnDragStop(QGDragEventArgs e) { this.WPFVertexCircle.Opacity = 1; this.WPFHighlightCircle.Opacity = 1; base.OnDragStop(e); }
private void __NodeDragMove(object sender, QGDragEventArgs e) { this.GraphRadius = ((Vector)e.CurrentPosition).Length; this.RotationAngle = _rotationAngleStart + ( (2 * Math.PI) * (Vector.AngleBetween((Vector)e.DragOrigin, (Vector)e.CurrentPosition) / 360)); this.RefreshVertices(); }
private void __NodeDragStop(object sender, QGDragEventArgs e) { _rotationAngleStart = 0; }
private void __NodeDragStart(object sender, QGDragEventArgs e) { _rotationAngleStart = this.RotationAngle; }
public void __VertexDragStop(object sender, QGDragEventArgs e) { this.WPFEdgeLine.StrokeDashArray = null; }
public void __VertexDragStart(object sender, QGDragEventArgs e) { this.WPFEdgeLine.StrokeDashArray = new DoubleCollection { 2, 1 }; }