Enum UIScaleMode
- Namespace
- Icy.UI
- Assembly
- IcyUI.dll
Specifies how a Canvas chooses the base factor of its EffectiveScale.
public enum UIScaleMode
- Extension Methods
Fields
Dpi = 1Follows the operating system display scale reported by DisplayScale (e.g.
2.0on a 200 % display). A host that isn't DPI-aware reports1.0.None = 0No base scaling: one UI unit is one physical pixel.
ReferenceResolution = 2Scales the UI so that a fixed reference resolution fits the viewport according to a ReferenceFit policy.
Remarks
The base factor is always multiplied by UserScale. Dpi and ReferenceResolution are alternatives and are never combined.