Kavita/API/Entities/Interfaces/IHasCoverImage.cs
2024-08-11 04:10:46 -07:00

27 lines
684 B
C#

namespace API.Entities.Interfaces;
#nullable enable
public interface IHasCoverImage
{
/// <summary>
/// Absolute path to the (managed) image file
/// </summary>
/// <remarks>The file is managed internally to Kavita's APPDIR</remarks>
public string? CoverImage { get; set; }
/// <summary>
/// Primary color derived from the Cover Image
/// </summary>
public string? PrimaryColor { get; set; }
/// <summary>
/// Secondary color derived from the Cover Image
/// </summary>
public string? SecondaryColor { get; set; }
/// <summary>
/// Nulls out the ColorScape properties
/// </summary>
void ResetColorScape();
}