Added shape properties

This commit is contained in:
Robert committed 2020-02-05 16:37:14 +01:00
1 parent c0957a3075
commit 07d9a5f784
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;
}
}
}