C# 클래스 Imgix_Dotnet.Operations.Rotation.RotationExtensions

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

공개 메소드들

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

Flips the image horizontally, vertically or both

Orientation ( this image, string value ) : ImgixImage

Changes the Exif orientation

Rotation ( this image, int value ) : ImgixImage

Rotates the image from 0-359 degrees

메소드 상세

Flip() 공개 정적인 메소드

Flips the image horizontally, vertically or both
public static Flip ( this image, string value ) : ImgixImage
image this The image to transform
value string /// The direction to flip /// Values: h, v or hv ///
리턴 ImgixImage

Orientation() 공개 정적인 메소드

Changes the Exif orientation
public static Orientation ( this image, string value ) : ImgixImage
image this The image to transform
value string /// The orientation value. /// 1-8 or 90, 180, 270 ///
리턴 ImgixImage

Rotation() 공개 정적인 메소드

Rotates the image from 0-359 degrees
public static Rotation ( this image, int value ) : ImgixImage
image this The image to transform
value int The rotation in degrees
리턴 ImgixImage