C# Class Imgix_Dotnet.Operations.Blend.BlendExtensions

ImgixImage extension methods that sets blend related parameters on the Url.
Afficher le fichier Open project: estei/Imgix-Dotnet

Méthodes publiques

Méthode Description
Blend ( this image, string value ) : ImgixImage

Blend the image with either a color or a different image

BlendAlign ( this image, string value ) : ImgixImage

Adjusts the alignment of the image being applied to the source image

BlendAlpha ( this image, int value ) : ImgixImage

Sets the transparency of the blend image or color

BlendCrop ( this image, string value ) : ImgixImage

When Blend Fit is set to crop how should the blend imge align

BlendFit ( this image, string value ) : ImgixImage

How is the blend image fit to its bw and or bh dimensions

BlendHeight ( this image, int value ) : ImgixImage

The height of the blend image

BlendMode ( this image, string value ) : ImgixImage

How is the blending supposed to happen

BlendPadding ( this image, int value ) : ImgixImage

Padds the blending image

BlendSize ( this image, string value ) : ImgixImage

The size of the blend image.

BlendWidth ( this image, int value ) : ImgixImage

The width of the blend image

BlendXPosition ( this image, int value ) : ImgixImage

Positions blend image horisontally from the left

BlendYPosition ( this image, int value ) : ImgixImage

Positions blend image vertically from the top

Method Details

Blend() public static méthode

Blend the image with either a color or a different image
public static Blend ( this image, string value ) : ImgixImage
image this The image to transform
value string /// Values: /// Color: 3, 6 or 8 char hexadecimal color. /// Image: A url to the image. ///
Résultat ImgixImage

BlendAlign() public static méthode

Adjusts the alignment of the image being applied to the source image
public static BlendAlign ( this image, string value ) : ImgixImage
image this The image to transform
value string /// One or more of the following values seperated by comma /// Values: top, middle, bottom, left, center, and right ///
Résultat ImgixImage

BlendAlpha() public static méthode

Sets the transparency of the blend image or color
public static BlendAlpha ( this image, int value ) : ImgixImage
image this The image to transform
value int /// Values: 0-100 /// 0: Fully transparant /// 100: Fully opaque ///
Résultat ImgixImage

BlendCrop() public static méthode

When Blend Fit is set to crop how should the blend imge align
public static BlendCrop ( this image, string value ) : ImgixImage
image this The image to transform
value string /// Values: top, bottom, left, right, and faces /// You can add multiple values seperated by commas. ///
Résultat ImgixImage

BlendFit() public static méthode

How is the blend image fit to its bw and or bh dimensions
public static BlendFit ( this image, string value ) : ImgixImage
image this The image to transform
value string /// Values: clamp, clip, crop, max, and scale ///
Résultat ImgixImage

BlendHeight() public static méthode

The height of the blend image
public static BlendHeight ( this image, int value ) : ImgixImage
image this The image to transform
value int /// The height of the image ///
Résultat ImgixImage

BlendMode() public static méthode

How is the blending supposed to happen
public static BlendMode ( this image, string value ) : ImgixImage
image this The image to transform
value string /// Values: color, burn, dodge, darken, difference, exclusion, hardlight, hue, lighten, luminosity, multiply, overlay, saturation, screen, softlight, and normal ///
Résultat ImgixImage

BlendPadding() public static méthode

Padds the blending image
public static BlendPadding ( this image, int value ) : ImgixImage
image this The image to transform
value int /// The amount of pixels that the image will be padded ///
Résultat ImgixImage

BlendSize() public static méthode

The size of the blend image.
public static BlendSize ( this image, string value ) : ImgixImage
image this The image to transform
value string /// Only one valid value: inherit ///
Résultat ImgixImage

BlendWidth() public static méthode

The width of the blend image
public static BlendWidth ( this image, int value ) : ImgixImage
image this The image to transform
value int /// The width of the image ///
Résultat ImgixImage

BlendXPosition() public static méthode

Positions blend image horisontally from the left
public static BlendXPosition ( this image, int value ) : ImgixImage
image this The image to transform
value int /// Default: 0 ///
Résultat ImgixImage

BlendYPosition() public static méthode

Positions blend image vertically from the top
public static BlendYPosition ( this image, int value ) : ImgixImage
image this The image to transform
value int /// Default: 0 ///
Résultat ImgixImage