C# Класс ImageProcessor.Plugins.Cair.ImageFactoryExtensions

Extends the ImageFactory class to provide a fluent API.
Показать файл Открыть проект

Открытые методы

Метод Описание
ContentAwareResize ( this factory, ImageProcessor.Plugins.Cair.Imaging.ContentAwareResizeLayer layer ) : ImageFactory

Resizes the current image to the given dimensions using Content Aware Resizing.

ContentAwareResize ( this factory, Size size ) : ImageFactory

Resizes the current image to the given dimensions using Content Aware Resizing.

Описание методов

ContentAwareResize() публичный статический Метод

Resizes the current image to the given dimensions using Content Aware Resizing.
public static ContentAwareResize ( this factory, ImageProcessor.Plugins.Cair.Imaging.ContentAwareResizeLayer layer ) : ImageFactory
factory this /// The current instance of the class /// that this method extends. ///
layer ImageProcessor.Plugins.Cair.Imaging.ContentAwareResizeLayer /// The containing the properties required to resize the image. ///
Результат ImageFactory

ContentAwareResize() публичный статический Метод

Resizes the current image to the given dimensions using Content Aware Resizing.
public static ContentAwareResize ( this factory, Size size ) : ImageFactory
factory this /// The current instance of the class /// that this method extends. ///
size System.Drawing.Size /// The containing the width and height to set the image to. ///
Результат ImageFactory