using SkiaSharp;
namespace Artemis.Core;
///
/// Represents an ellipse layer shape
///
public class EllipseShape : LayerShape
{
internal EllipseShape(Layer layer) : base(layer)
{
}
///
public override void CalculateRenderProperties()
{
SKPath path = new();
path.AddOval(SKRect.Create(Layer.Bounds.Width, Layer.Bounds.Height));
Path = path;
}
}