interaction void Draw() { BeingDrawnShape = new FindBeingDrawnShape(BeingDrawnShapeId, TouchScreen).Find(); if (BeingDrawnShape != null) { new UpdateTrack(BeingDrawnShape, NewPointToAdd).Update(); } }
public StopDrawing(int shapeId, Surface onTouchScreen, Point lastPoint) { LastPointToAdd = lastPoint; BeingDrawnShapeId = shapeId; BeingDrawnShape = new FindBeingDrawnShape(BeingDrawnShapeId, onTouchScreen).Find(); TouchRecorder = new StopTrack(BeingDrawnShape, LastPointToAdd); ShapeTracker = onTouchScreen.Controller; }