public DrawingService(ICanvasOperation _canvasOpp, ILineOperation _lineOpp, IRectangleOperation _rectOpp, IColorFillOperation _fillOpp)
 {
     canvasOpp     = _canvasOpp;
     lineOpp       = _lineOpp;
     rectOpp       = _rectOpp;
     fillOpp       = _fillOpp;
     currentCanvas = new Canvas();
 }
Beispiel #2
0
 public Canvas_Test(ICanvasOperation canvasOpp)
 {
     _canvasOpp = canvasOpp;
 }
Beispiel #3
0
 public ColorFillOperation(ICanvasOperation _canvasOpp)
 {
     canvasOpp = _canvasOpp;
 }
 public Rectangle_Test(ICanvasOperation canvasOpp, ILineOperation lineOpp, IRectangleOperation rectOpp)
 {
     _canvasOpp = canvasOpp;
     _lineOpp   = lineOpp;
     _rectOpp   = rectOpp;
 }
Beispiel #5
0
 public Line_Test(ICanvasOperation canvasOpp, ILineOperation lineOpp)
 {
     _canvasOpp = canvasOpp;
     _lineOpp   = lineOpp;
 }
Beispiel #6
0
 public LineOperation(ICanvasOperation _canvasOpp)
 {
     canvasOpp = _canvasOpp;
 }
Beispiel #7
0
 public RectangleOperation(ILineOperation _lineOpp, ICanvasOperation _canvasOpp)
 {
     lineOpp   = _lineOpp;
     canvasOpp = _canvasOpp;
 }