Enum TransformOptions.ResizeType
The resize mode can be cover, contain or fill. Defaults to cover.
- Cover resizes the image to maintain it's aspect ratio while filling the entire width and height.
- Contain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.
- Fill resizes the image to fill the entire width and height.If the object's aspect ratio does not match the width and height, the image will be stretched to fit.
public enum TransformOptions.ResizeType
Fields
[MapTo("contain", null)] [EnumMember(Value = "contain")] Contain = 1
[MapTo("cover", null)] [EnumMember(Value = "cover")] Cover = 0
[MapTo("fill", null)] [EnumMember(Value = "fill")] Fill = 2