mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-31 10:37:04 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			684 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			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();
 | |
| }
 |