C# Class Imgix_Dotnet.Operations.Padding.PaddingExtensions

ImgixImage extension methods that sets padding related parameters on the Url.
Exibir arquivo Open project: estei/Imgix-Dotnet

Public Methods

Method Description
Padding ( this image, int value ) : ImgixImage

Adds padding to the image. If the image does not have any size parameters the padding will extend the picture. If there are size parameters, the image will be shrunk to fit

Method Details

Padding() public static method

Adds padding to the image. If the image does not have any size parameters the padding will extend the picture. If there are size parameters, the image will be shrunk to fit
public static Padding ( this image, int value ) : ImgixImage
image this The image to transform
value int /// The thickness of the padding. ///
return ImgixImage