Files
Artemis/src/Artemis.Core/Models/Profile/LayerShapes/Ellipse.cs
T
SpoinkyNL 18c1b533b9 Core - Render each profile element in its own bitmap
Layer effects - Removed now redundant CreateShapeClip
2020-06-18 17:04:15 +02:00

18 lines
416 B
C#

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(SKRect.Create(Layer.Bounds.Width, Layer.Bounds.Height));
Path = path;
}
}
}