Enum NuiAspect
Specifies how content should scale within its container in NUI.
public enum NuiAspect
- Extension Methods
Fields
Exact = 3Uses exact size without scaling.
ExactScaled = 4Uses exact size, scaled by DPI or UI scale.
Fill = 1Fills the bounds; may crop to preserve aspect.
Fit = 0Preserves aspect ratio and fits entirely within the bounds.
Fit100 = 2Fits at 100% scale where possible, preserving aspect.
Stretch = 5Stretches to fill the bounds; aspect ratio may change.