implement

This commit is contained in:
2026-02-08 21:32:24 +01:00
parent 90c127ddb3
commit 9d95bb5cc3
15 changed files with 313 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using System.Drawing;
using AipsCore.Domain.Models.Shape.Enums;
using AipsCore.Domain.Models.Shape.ValueObjects;
namespace AipsCore.Domain.Models.Shape;
public abstract class Shape
{
public ShapeId Id { get; }
public abstract ShapeTypeEnum ShapeType { get; }
public Position Position { get; private set; }
public Color Color { get; private set; }
protected Shape(ShapeId id, Position position, Color color)
{
Id = id;
Position = position;
Color = color;
}
}