diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-02-05 19:53:50 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-02-05 19:53:50 +0100 |
| commit | e216702bcfdf3d6a90f59e11984098990f069043 (patch) | |
| tree | dbfc1809d2d09d08ed70161adb166a1faa3f5c73 /MediaBrowser.Controller/Drawing/IImageProcessor.cs | |
| parent | 0ef2b46106937c8acbab8e2a6a1e08affb823d31 (diff) | |
Complete rename ImageSize -> ImageDimensions
Diffstat (limited to 'MediaBrowser.Controller/Drawing/IImageProcessor.cs')
| -rw-r--r-- | MediaBrowser.Controller/Drawing/IImageProcessor.cs | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Drawing/IImageProcessor.cs b/MediaBrowser.Controller/Drawing/IImageProcessor.cs index 783182730..957be3cf8 100644 --- a/MediaBrowser.Controller/Drawing/IImageProcessor.cs +++ b/MediaBrowser.Controller/Drawing/IImageProcessor.cs @@ -26,16 +26,29 @@ namespace MediaBrowser.Controller.Drawing /// <value>The image enhancers.</value> IImageEnhancer[] ImageEnhancers { get; } - ImageDimensions GetImageSize(string path); + /// <summary> + /// Gets the dimensions of the image. + /// </summary> + /// <param name="path">Path to the image file.</param> + /// <returns>ImageDimensions</returns> + ImageDimensions GetImageDimensions(string path); /// <summary> - /// Gets the size of the image. + /// Gets the dimensions of the image. /// </summary> + /// <param name="item">The base item.</param> /// <param name="info">The information.</param> - /// <returns>ImageSize.</returns> - ImageDimensions GetImageSize(BaseItem item, ItemImageInfo info); + /// <returns>ImageDimensions</returns> + ImageDimensions GetImageDimensions(BaseItem item, ItemImageInfo info); - ImageDimensions GetImageSize(BaseItem item, ItemImageInfo info, bool updateItem); + /// <summary> + /// Gets the dimensions of the image. + /// </summary> + /// <param name="item">The base item.</param> + /// <param name="info">The information.</param> + /// <param name="updateItem">Whether or not the item info should be updated.</param> + /// <returns>ImageDimensions</returns> + ImageDimensions GetImageDimensions(BaseItem item, ItemImageInfo info, bool updateItem); /// <summary> /// Adds the parts. |
