C# 클래스 ImageProcessor.Plugins.Cair.ImageFactoryExtensions

Extends the ImageFactory class to provide a fluent API.
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor

공개 메소드들

메소드 설명
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