Search Results for

    Show / Hide Table of Contents

    Enum LayoutScale

    Specifies how an element should be scaled within a layout.

    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public enum LayoutScale : int

    Fields

    Name Description
    Contain

    Indicates that the element should be uniformly scaled (maintaining aspect ratio) to the largest size such that both its width and its height can fit inside its bounding box.

    Cover

    Indicates that the element should be uniformly scaled (maintaining aspect ratio) to be as large as possible so that the bounding box is completely covered. Some parts of the element may not be in view (cropped).

    Stretch

    Indicates that the element should be non-uniformly scaled (not maintaining aspect ratio) so that the bounding box is completely covered, but all parts of the element are in view (no cropping).

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0