How an image element fits its texture or sprite into its rectangle: stretch fills the rectangle exactly, contain fits within it and cover fills it, both preserving the source aspect ratio.
stretch
contain
cover
How an image element fits its texture or sprite into its rectangle:
stretchfills the rectangle exactly,containfits within it andcoverfills it, both preserving the source aspect ratio.