jellyfin/MediaBrowser.Model/Dto/ImageOptions.cs

73 lines
2.2 KiB
C#
Raw Normal View History

2013-06-08 10:04:17 -07:00
using System;
2013-02-20 18:33:05 -07:00
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Model.Dto
2013-02-20 18:33:05 -07:00
{
/// <summary>
/// Class ImageOptions
/// </summary>
public class ImageOptions
{
/// <summary>
/// Gets or sets the type of the image.
/// </summary>
/// <value>The type of the image.</value>
public ImageType ImageType { get; set; }
/// <summary>
/// Gets or sets the index of the image.
/// </summary>
/// <value>The index of the image.</value>
public int? ImageIndex { get; set; }
2013-06-05 05:35:18 -07:00
2013-02-20 18:33:05 -07:00
/// <summary>
/// Gets or sets the width.
/// </summary>
/// <value>The width.</value>
public int? Width { get; set; }
/// <summary>
/// Gets or sets the height.
/// </summary>
/// <value>The height.</value>
public int? Height { get; set; }
/// <summary>
/// Gets or sets the width of the max.
/// </summary>
/// <value>The width of the max.</value>
public int? MaxWidth { get; set; }
/// <summary>
/// Gets or sets the height of the max.
/// </summary>
/// <value>The height of the max.</value>
public int? MaxHeight { get; set; }
/// <summary>
/// Gets or sets the quality.
/// </summary>
/// <value>The quality.</value>
public int? Quality { get; set; }
/// <summary>
/// Gets or sets the image tag.
/// If set this will result in strong, unconditional response caching
/// </summary>
/// <value>The hash.</value>
public Guid? Tag { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [crop whitespace].
/// </summary>
/// <value><c>null</c> if [crop whitespace] contains no value, <c>true</c> if [crop whitespace]; otherwise, <c>false</c>.</value>
public bool? CropWhitespace { get; set; }
2013-06-05 05:35:18 -07:00
/// <summary>
/// Gets or sets a value indicating whether [enable image enhancers].
/// </summary>
/// <value><c>true</c> if [enable image enhancers]; otherwise, <c>false</c>.</value>
2013-06-09 09:23:06 -07:00
public bool EnableImageEnhancers { get; set; }
2013-02-20 18:33:05 -07:00
}
}