SplashscreenOptions.cs 954 B

1234567891011121314151617181920212223242526272829
  1. namespace MediaBrowser.Controller.Drawing
  2. {
  3. /// <summary>
  4. /// Options used to generate the splashscreen.
  5. /// </summary>
  6. public class SplashscreenOptions
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="SplashscreenOptions"/> class.
  10. /// </summary>
  11. /// <param name="outputPath">The output path.</param>
  12. /// <param name="applyFilter">Optional. Apply a darkening filter.</param>
  13. public SplashscreenOptions(string outputPath, bool applyFilter = false)
  14. {
  15. OutputPath = outputPath;
  16. ApplyFilter = applyFilter;
  17. }
  18. /// <summary>
  19. /// Gets or sets the output path.
  20. /// </summary>
  21. public string OutputPath { get; set; }
  22. /// <summary>
  23. /// Gets or sets a value indicating whether to apply a darkening filter at the end.
  24. /// </summary>
  25. public bool ApplyFilter { get; set; }
  26. }
  27. }