Contains values for the resize modes (how the resize parameters should be intepreted).
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public enum ResizeMode
Member name | Description |
---|---|
Fit |
Width and height specify a rectangle the image is inscribed into (image proportions are preserved). |
ImageFill |
In this mode image is proportionally resized and cropped. Firstly, the image is resized so that the given rectangle is inscribed into the resized image. After that the rectangle is centered on the resized image and the image is cropped by the rectangle bounds. |
Resize |
Width and height specify dimensions of the image after resize (proportions are not preserved). |
Shrink |
The same as Fit, but the resize occurs only if resize dimensions are smaller than image dimensions. |