Click or drag to resize

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: 19.4.401.0 (19.4.401.0)
Syntax
public enum MaintainAspectRatio
Members
  Member nameDescription
NoneThe 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