mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Removed separate shape size
This commit is contained in:
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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user