Beispiel #1
0
 public Cube(DrawingAPI api, double x, double y, double width)
     : base(api)
 {
     TopLeftX = x;
     TopLeftY = y;
     Width = width;
 }
Beispiel #2
0
 public Circle(DrawingAPI api, double x, double y, double radius)
     : base(api)
 {
     CenterX = x;
     CenterY = y;
     Radius = radius;
 }
 public DrawableShape(DrawingAPI api)
 {
     _api = api;
 }