EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method PickRegion

    PickRegion(Rectangle, Rectangle)

    Adjusts the given bounds to fit inside the specified region. If the width or height of the region is non-positive, it represents how much of the bounds' width or height to remove, respectively. If the region's x or y is set, it represents the offset inside the bounds.

    Declaration
    public static Rectangle PickRegion(this Rectangle bounds, Rectangle region)
    Parameters
    Type Name Description
    Rectangle bounds

    The original bounds that need to be adjusted.

    Rectangle region

    The region inside which the bounds need to fit.

    Returns
    Type Description
    Rectangle

    The adjusted bounds that fit inside the specified region.

    © Xab3r. All rights reserved.