Files
shape_library/Shapes/Shape.cs
2019-10-20 21:42:51 -06:00

20 lines
489 B
C#

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);
}
}