mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using Artemis.Core.LayerBrushes;
|
|
|
|
namespace Artemis.Core;
|
|
|
|
/// <summary>
|
|
/// A reference to a <see cref="LayerBrushDescriptor" />
|
|
/// </summary>
|
|
public class LayerBrushReference
|
|
{
|
|
/// <summary>
|
|
/// Creates a new instance of the <see cref="LayerBrushReference" /> class
|
|
/// </summary>
|
|
public LayerBrushReference()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Creates a new instance of the <see cref="LayerBrushReference" /> class
|
|
/// </summary>
|
|
/// <param name="descriptor">The descriptor to point the new reference at</param>
|
|
public LayerBrushReference(LayerBrushDescriptor descriptor)
|
|
{
|
|
LayerBrushProviderId = descriptor.Provider.Id;
|
|
BrushType = descriptor.LayerBrushType.Name;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The ID of the layer brush provided the brush was provided by
|
|
/// </summary>
|
|
public string? LayerBrushProviderId { get; set; }
|
|
|
|
/// <summary>
|
|
/// The full type name of the brush descriptor
|
|
/// </summary>
|
|
public string? BrushType { get; set; }
|
|
} |