Class ScrollMetricsUtils | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class ScrollMetricsUtils

    Inheritance
    Object
    ScrollMetricsUtils
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public static class ScrollMetricsUtils

    Methods

    atEdge(ScrollMetrics)

    Declaration
    public static bool atEdge(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    Boolean

    axis(ScrollMetrics)

    Declaration
    public static Axis axis(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    Axis

    copyWith(ScrollMetrics, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<AxisDirection>, Nullable<Single>)

    Declaration
    public static ScrollMetrics copyWith(ScrollMetrics it, float? minScrollExtent = default(float? ), float? maxScrollExtent = default(float? ), float? pixels = default(float? ), float? viewportDimension = default(float? ), AxisDirection? axisDirection = default(AxisDirection? ), float? viewportFraction = default(float? ))
    Parameters
    Type Name Description
    ScrollMetrics it
    Nullable<Single> minScrollExtent
    Nullable<Single> maxScrollExtent
    Nullable<Single> pixels
    Nullable<Single> viewportDimension
    Nullable<AxisDirection> axisDirection
    Nullable<Single> viewportFraction
    Returns
    Type Description
    ScrollMetrics

    extentAfter(ScrollMetrics)

    Declaration
    public static float extentAfter(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    Single

    extentBefore(ScrollMetrics)

    Declaration
    public static float extentBefore(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    Single

    extentInside(ScrollMetrics)

    Declaration
    public static float extentInside(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    Single

    outOfRange(ScrollMetrics)

    Declaration
    public static bool outOfRange(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023