/// <summary> /// 마우스의 포인터 점을 변경합니다. /// </summary> /// <param name="ob"></param> /// <param name="point"></param> private void ChangePosition(MouseObject ob, Point point) { if (Adorner == null) { Adorner = new MouseAdorner((UIElement)Window.Content); FirstPosition.Key = 0; SecondPosition.Key = 1; } ob.point = point; Adorner.AddObject(ob); }
public void AddObject(MouseObject mo) { MousePosition[mo.Key] = mo; this.InvalidateVisual(); }