MaintainAspectRatio Enumeration |
Specifies whether the aspect ratio of a texture will be maintained during sizing of a screen overlay.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public enum MaintainAspectRatio
Public Enumeration MaintainAspectRatio
public enum class MaintainAspectRatio
Members
| Member name | Description |
---|
| None | The aspect ratio of the texture is not maintained during sizing of the screen overlay. |
| Width |
The aspect ratio of the texture is maintained based on the Width property of the screen overlay.
When used, the Height property is ignored and the height is automatically calculated
based on the aspect ratio of the texture and the overlay's Width property.
|
| Height |
The aspect ratio of the texture is maintained based on the Height property of the screen overlay.
When used, the Width property is ignored and the width is automatically calculated
based on the aspect ratio of the texture and the overlay's Height property.
|
See Also