1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
2020-02-05 23:48:36 +01:00

19 lines
414 B
C#

using Artemis.Storage.Entities.Profile;
using SkiaSharp;
namespace Artemis.Core.Models.Profile.LayerShapes
{
public class Ellipse : LayerShape
{
public Ellipse(Layer layer) : base(layer)
{
}
public override void CalculateRenderProperties()
{
var path = new SKPath();
path.AddOval(Layer.Bounds);
Path = path;
}
}
}