using System.Collections.Generic;
namespace MediaBrowser.Controller.Drawing
{
///
/// Options used to generate the splashscreen.
///
public class SplashscreenOptions
{
///
/// Initializes a new instance of the class.
///
/// The portrait input paths.
/// The landscape input paths.
/// The output path.
/// Optional. The image width.
/// Optional. The image height.
/// Optional. Apply a darkening filter.
public SplashscreenOptions(IReadOnlyList portraitInputPaths, IReadOnlyList landscapeInputPaths, string outputPath, bool applyFilter = false)
{
PortraitInputPaths = portraitInputPaths;
LandscapeInputPaths = landscapeInputPaths;
OutputPath = outputPath;
ApplyFilter = applyFilter;
}
///
/// Gets or sets the poster input paths.
///
public IReadOnlyList PortraitInputPaths { get; set; }
///
/// Gets or sets the landscape input paths.
///
public IReadOnlyList LandscapeInputPaths { get; set; }
///
/// Gets or sets the output path.
///
public string OutputPath { get; set; }
///
/// Gets or sets a value indicating whether to apply a darkening filter at the end.
///
public bool ApplyFilter { get; set; }
}
}