Add EllipsePrimitive to DTO Converter
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user