ImageScale
public enum ImageScale
                Indicates the image scaling strategy to use when rendering an image that has a different size to the image view that contains it.
- 
                  
                  
Renders the image on the top-left of the boundaries.
Declaration
Swift
case topLeftAsIs - 
                  
                  
Moves the center of the image to the center of the render bounds before rendering.
Declaration
Swift
case centeredAsIs - 
                  
                  
Stretches the image so it fits the bounding box exactly.
Declaration
Swift
case stretch - 
                  
                  
Scales the image, maintaining the original aspect ratio.
Declaration
Swift
case aspectFit