Struct ResizeMethod
sealed struct ResizeMethod
ResizeMethod specifies the method used to resize an image when its dimensions differ from the image view dimensions.
The choice of method affects both performance and visual quality.
Fields
Constants
AUTO
Automatically selects between RESIZE and SCALE based on image and view dimensions. Recommended for most use cases as it optimizes for both quality and performance.ResizeMethod={0}
RESIZE
The encoded image gets resized in memory before it gets decoded. This should be used instead of scale when the image is much larger than the view.ResizeMethod={1}
SCALE
The image gets drawn downscaled or upscaled. Compared to resize, scale is faster (usually hardware accelerated) and produces higher quality images. This should be used if the image is smaller or slightly bigger than the view.ResizeMethod={2}

