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