Add EllipsePrimitive to DTO Converter

This commit is contained in:
Evgeny Redikultsev
2024-10-13 17:31:18 +05:00
parent 7e54aa0407
commit d16c0e1f79
54 changed files with 605 additions and 62 deletions

View File

@@ -1,13 +1,25 @@
namespace StructureHelperCommon.Models.Shapes
using System;
namespace StructureHelperCommon.Models.Shapes
{
/// <inheritdoc />
public class RectangleShape : IRectangleShape
{
public Guid Id { get; }
/// <inheritdoc />
public double Width { get; set; }
/// <inheritdoc />
public double Height { get; set; }
/// <inheritdoc />
public double Angle { get; set; }
public RectangleShape(Guid id)
{
Id = id;
}
public RectangleShape() : this (Guid.NewGuid())
{
}
}
}