aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs
blob: ba268b8eb7ccee8170895fe3bbfc7f6d592c0154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace MediaBrowser.Controller.Drawing
{
    /// <summary>
    /// Options used to generate the splashscreen.
    /// </summary>
    public class SplashscreenOptions
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="SplashscreenOptions"/> class.
        /// </summary>
        /// <param name="outputPath">The output path.</param>
        /// <param name="applyFilter">Optional. Apply a darkening filter.</param>
        public SplashscreenOptions(string outputPath, bool applyFilter = false)
        {
            OutputPath = outputPath;
            ApplyFilter = applyFilter;
        }

        /// <summary>
        /// Gets or sets the output path.
        /// </summary>
        public string OutputPath { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether to apply a darkening filter at the end.
        /// </summary>
        public bool ApplyFilter { get; set; }
    }
}