Added Rectangle

This commit is contained in:
Brady
2019-10-20 21:42:51 -06:00
parent 62c9007691
commit 268c742f6c
18 changed files with 583 additions and 9 deletions

20
Shapes/Shape.cs Normal file
View File

@@ -0,0 +1,20 @@
using System.ComponentModel;
using System.Diagnostics.Tracing;
using System.Drawing;
using System.Reflection.Metadata.Ecma335;
namespace Shapes
{
public abstract class Shape
{
public abstract Color Fill { get; set; }
public abstract Color Color { get; set; }
public abstract double Width { get; }
public abstract double Height { get; }
public abstract double ComputeArea();
public abstract void Scale(double scaleFactor);
}
}