Enum StretchMode
kinds of stretch modes.
Namespace: Evergine.Framework.Managers
Assembly: Evergine.Framework.dll
Syntax
public enum StretchMode
Fields
Name | Description |
---|---|
Fill | The image is scaled to fit the output area. Because the image height and width are scaled independently, the original aspect ratio of the image might not be preserved. That is, the image might be warped in order to completely fill the output container. |
Uniform | The image is scaled so that it fits completely within the output area. The image's aspect ratio is preserved. |
UniformToFill | The image is scaled so that it completely fills the output area while preserving the image's original aspect ratio. |