Removed separate shape size

This commit is contained in:
SpoinkyNL committed 2020-02-04 22:01:02 +01:00
1 parent 436994129a
commit 2c60a42315
34 files changed
+81 -862

No files matched your search

@@ -23,7 +23,7 @@ namespace Artemis.Storage.Entities.Profile
public List<PropertyEntity> PropertyEntities { get; set; }
public List<ProfileConditionEntity> Condition { get; set; }
public ShapeEntity ShapeEntity { get; set; }
public ShapeEntityType ShapeType { get; set; }
public BrushEntity BrushEntity { get; set; }
[BsonRef("ProfileEntity")]
@@ -31,4 +31,10 @@ namespace Artemis.Storage.Entities.Profile
public Guid ProfileId { get; set; }
}
public enum ShapeEntityType
{
Ellipse,
Rectangle
}
}
@@ -1,28 +0,0 @@
using System.Collections.Generic;
namespace Artemis.Storage.Entities.Profile
{
public class ShapeEntity
{
public float X { get; set; }
public float Y { get; set; }
public float Width { get; set; }
public float Height { get; set; }
public ShapeEntityType Type { get; set; }
public List<ShapePointEntity> Points { get; set; }
}
public class ShapePointEntity
{
public float X { get; set; }
public float Y { get; set; }
}
public enum ShapeEntityType
{
Ellipse,
Fill,
Polygon,
Rectangle
}
}