Table of Contents

Enum NuiAspect

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Specifies how content should scale within its container in NUI.

public enum NuiAspect
Extension Methods

Fields

Exact = 3

Uses exact size without scaling.

ExactScaled = 4

Uses exact size, scaled by DPI or UI scale.

Fill = 1

Fills the bounds; may crop to preserve aspect.

Fit = 0

Preserves aspect ratio and fits entirely within the bounds.

Fit100 = 2

Fits at 100% scale where possible, preserving aspect.

Stretch = 5

Stretches to fill the bounds; aspect ratio may change.