Files
Artemis/src/Artemis.Core/Models/Profile/LayerShapes/LayerShape.cs
T
SpoinkyNL 24f34f76b4 Corsair - Added VOID layout and Virtuoso PH layout
Core - Added default value to brush plugin properties
Core - Bitmap brush optimizations
2020-02-17 20:46:27 +01:00

30 lines
699 B
C#

using SkiaSharp;
namespace Artemis.Core.Models.Profile.LayerShapes
{
public abstract class LayerShape
{
private SKPath _path;
protected LayerShape(Layer layer)
{
Layer = layer;
}
/// <summary>
/// The layer this shape is attached to
/// </summary>
public Layer Layer { get; set; }
/// <summary>
/// Gets a copy of the path outlining the shape
/// </summary>
public SKPath Path
{
get => _path != null ? new SKPath(_path) : null;
protected set => _path = value;
}
public abstract void CalculateRenderProperties();
}
}