C# Class ImageProcessor.Plugins.Cair.ImageFactoryExtensions

Extends the ImageFactory class to provide a fluent API.
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor

Méthodes publiques

Méthode Description
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.

Method Details

ContentAwareResize() public static méthode

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. ///
Résultat ImageFactory

ContentAwareResize() public static méthode

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. ///
Résultat ImageFactory