Метод | Описание | |
---|---|---|
Crop ( this image, string cropMode ) : ImgixImage |
Controls how the image is aligned when fit has been set to crop
|
|
Fit ( this image, string fit ) : ImgixImage |
How is the output image fit into the target dimensions.
|
|
Height ( this image, double ratio ) : ImgixImage |
Sets the output height of the transformed image as the ratio of the original size.
|
|
Height ( this image, int height ) : ImgixImage |
Sets the output height of the transformed image.
|
|
Height ( this image, string height ) : ImgixImage |
Sets the height of the transformed image.
|
|
Rect ( this image, int x, int y, int width, int height ) : ImgixImage |
Selects a sub-reqion of the image to use for processing
|
|
Rect ( this image, string dimensions ) : ImgixImage |
Selects a sub-reqion of the image to use for processing
|
|
Width ( this image, double ratio ) : ImgixImage |
Sets the output width of the transformed image as the ratio of the original size.
|
|
Width ( this image, int width ) : ImgixImage |
Sets the output width of the transformed image.
|
|
Width ( this image, string width ) : ImgixImage |
Sets the width of the transformed image.
|
public static Crop ( this image, string cropMode ) : ImgixImage | ||
image | this | The image to transform |
cropMode | string | /// The crop mode value. Can be a comma seperated list. /// Values: top, bottom, left, right, faces, entropy /// |
Результат | ImgixImage |
public static Fit ( this image, string fit ) : ImgixImage | ||
image | this | The image to transform |
fit | string | /// The fit mode /// Values: clamp, clip, crop, facearea, fill, max, min, scale /// |
Результат | ImgixImage |
public static Height ( this image, double ratio ) : ImgixImage | ||
image | this | The image to transform |
ratio | double | The ratio compared to the original image. Should be between 0,0 and 1.0 |
Результат | ImgixImage |
public static Height ( this image, int height ) : ImgixImage | ||
image | this | The image to transform |
height | int | The pixel height |
Результат | ImgixImage |
public static Height ( this image, string height ) : ImgixImage | ||
image | this | The image to transform |
height | string | The height value as a string |
Результат | ImgixImage |
public static Rect ( this image, int x, int y, int width, int height ) : ImgixImage | ||
image | this | The image to transform |
x | int | The x position of the top left corner |
y | int | The x position of the top left corner |
width | int | The width of the rectangle |
height | int | The height of the rectangle |
Результат | ImgixImage |
public static Rect ( this image, string dimensions ) : ImgixImage | ||
image | this | The image to transform |
dimensions | string | /// A comma seperated string of integers of the format "x,y,width,height" /// |
Результат | ImgixImage |
public static Width ( this image, double ratio ) : ImgixImage | ||
image | this | The image to transform |
ratio | double | The ratio compared to the original image. Should be between 0,0 and 1.0 |
Результат | ImgixImage |
public static Width ( this image, int width ) : ImgixImage | ||
image | this | The image to transform |
width | int | The pixel width |
Результат | ImgixImage |
public static Width ( this image, string width ) : ImgixImage | ||
image | this | The image to transform |
width | string | The width value as a string |
Результат | ImgixImage |