Added shape properties

This commit is contained in:
Robert committed 2020-02-05 23:48:36 +01:00
1 parent 2c60a42315
commit 12d5fd39a0
31 files changed
+373 -114

No files matched your search

@@ -15,10 +15,5 @@ namespace Artemis.Core.Models.Profile.LayerShapes
path.AddOval(Layer.Bounds);
Path = path;
}
public override void ApplyToEntity()
{
Layer.LayerEntity.ShapeType = ShapeEntityType.Ellipse;
}
}
}
@@ -20,7 +20,5 @@ namespace Artemis.Core.Models.Profile.LayerShapes
public SKPath Path { get; protected set; }
public abstract void CalculateRenderProperties();
public abstract void ApplyToEntity();
}
}
@@ -15,10 +15,5 @@ namespace Artemis.Core.Models.Profile.LayerShapes
path.AddRect(Layer.Bounds);
Path = path;
}
public override void ApplyToEntity()
{
Layer.LayerEntity.ShapeType = ShapeEntityType.Rectangle;
}
}
}