C# 클래스 Imgix_Dotnet.Operations.Trim.TrimExtensions

ImgixImage extension methods that sets trim related parameters on the Url.
파일 보기 프로젝트 열기: estei/Imgix-Dotnet

공개 메소드들

메소드 설명
Trim ( this image, string value ) : ImgixImage

Adds the trim parameter to the image url.

TrimColor ( this image, string value ) : ImgixImage

Adds the timecolor parameter to the image url

TrimMeanDifference ( this image, int value ) : ImgixImage

The difference threshhold used when trimming a border. Only valid when trim is set to auto

TrimStandardDeviation ( this image, int value ) : ImgixImage

Defines the standard deviation among pixels in a border. Only valid when trim is set to auto

TrimTolerance ( this image, int value ) : ImgixImage

DEfines the tolerance when trim has been set to color.

메소드 상세

Trim() 공개 정적인 메소드

Adds the trim parameter to the image url.
public static Trim ( this image, string value ) : ImgixImage
image this The image to transform
value string /// The trim operation to perform /// Values: auto or color ///
리턴 ImgixImage

TrimColor() 공개 정적인 메소드

Adds the timecolor parameter to the image url
public static TrimColor ( this image, string value ) : ImgixImage
image this The image to transform
value string /// A three or six char hex color string ///
리턴 ImgixImage

TrimMeanDifference() 공개 정적인 메소드

The difference threshhold used when trimming a border. Only valid when trim is set to auto
public static TrimMeanDifference ( this image, int value ) : ImgixImage
image this The image to transform
value int /// A lower value makes the trimming more aggressive /// Default: 11 ///
리턴 ImgixImage

TrimStandardDeviation() 공개 정적인 메소드

Defines the standard deviation among pixels in a border. Only valid when trim is set to auto
public static TrimStandardDeviation ( this image, int value ) : ImgixImage
image this The image to transform
value int /// The standard deviation /// Default: 10 ///
리턴 ImgixImage

TrimTolerance() 공개 정적인 메소드

DEfines the tolerance when trim has been set to color.
public static TrimTolerance ( this image, int value ) : ImgixImage
image this The image to transform
value int /// The tolerance /// Default: 0 ///
리턴 ImgixImage