C# Класс Imgix_Dotnet.Operations.Trim.TrimExtensions

ImgixImage extension methods that sets trim related parameters on the Url.
Показать файл Открыть проект

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

Метод Описание
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