using Artemis.Core.LayerBrushes;
namespace Artemis.Core;
///
/// A reference to a
///
public class LayerBrushReference
{
///
/// Creates a new instance of the class
///
public LayerBrushReference()
{
}
///
/// Creates a new instance of the class
///
/// The descriptor to point the new reference at
public LayerBrushReference(LayerBrushDescriptor descriptor)
{
LayerBrushProviderId = descriptor.Provider.Id;
BrushType = descriptor.LayerBrushType.Name;
}
///
/// The ID of the layer brush provided the brush was provided by
///
public string? LayerBrushProviderId { get; set; }
///
/// The full type name of the brush descriptor
///
public string? BrushType { get; set; }
}