Enum ReferenceFit
- Namespace
- Icy.UI
- Assembly
- IcyUI.dll
Specifies how ReferenceResolution maps a reference resolution onto a viewport whose aspect ratio may differ from it.
public enum ReferenceFit
- Extension Methods
Fields
Fill = 1Uses the larger of the width and height ratios, so the reference area always covers the viewport.
Fit = 0Uses the smaller of the width and height ratios, so the whole reference area is always visible.
MatchHeight = 3Uses the height ratio only.
MatchWidth = 2Uses the width ratio only.