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