Table of Contents

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 = 1

Uses the larger of the width and height ratios, so the reference area always covers the viewport.

Fit = 0

Uses the smaller of the width and height ratios, so the whole reference area is always visible.

MatchHeight = 3

Uses the height ratio only.

MatchWidth = 2

Uses the width ratio only.