public override void onMouseUp(int x, int y) { this.lineObject.SetState(StaticState.GetInstance()); lineObject = null; }
public override void onMouseDown(int x, int y) { lineObject = new DobLine(x, y, x, y, this.getPenClone()); this.drawingToolBox.GetCanvas() .AddDrawingObject(this.lineObject); }