Beispiel #1
0
 private void OnPointerDrag(PointerDragSignal ev)
 {
     currentSvgRect.setAttributeNS(null, "x", $"{ev.AnchoredStageX}px");
     currentSvgRect.setAttributeNS(null, "y", $"{ev.AnchoredStageY}px");
     currentSvgRect.setAttributeNS(null, "width", $"{ev.Width}px");
     currentSvgRect.setAttributeNS(null, "height", $"{ev.Height}px");
 }
 void PointerDrag(PointerDragSignal e)
 {
     SetDivPosition(e.AnchoredX, e.AnchoredY, e.Width, e.Height);
 }
 private void OnPointerDrag(PointerDragSignal ev)
 {
     currentAction.SetSelectedRect(ev.AnchoredStageX, ev.AnchoredStageY, ev.StageX, ev.StageY);
 }