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, int width = 1920, int height = 1080, bool applyFilter = false)
{
PortraitInputPaths = portraitInputPaths;
LandscapeInputPaths = landscapeInputPaths;
OutputPath = outputPath;
Width = width;
Height = height;
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 the width.
///
public int Width { get; set; }
///
/// Gets or sets the height.
///
public int Height { get; set; }
///
/// Gets or sets a value indicating whether to apply a darkening filter at the end.
///
public bool ApplyFilter { get; set; }
}
}