mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-11 04:26:11 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
27 lines
694 B
C#
27 lines
694 B
C#
namespace Kavita.Models.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();
|
|
}
|