Class CustomClipper<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class CustomClipper<T>

    Inheritance
    System.Object
    CustomClipper<T>
    ShapeBorderClipper
    Namespace: Unity.UIWidgets.rendering
    Syntax
    public abstract class CustomClipper<T>
    Type Parameters
    Name Description
    T

    Constructors

    CustomClipper(Listenable)

    Declaration
    public CustomClipper(Listenable reclip = null)
    Parameters
    Type Name Description
    Listenable reclip

    Fields

    _reclip

    Declaration
    public readonly Listenable _reclip
    Field Value
    Type Description
    Listenable

    Methods

    getApproximateClipRect(Size)

    Declaration
    public virtual Rect getApproximateClipRect(Size size)
    Parameters
    Type Name Description
    Size size
    Returns
    Type Description
    Rect

    getClip(Size)

    Declaration
    public abstract T getClip(Size size)
    Parameters
    Type Name Description
    Size size
    Returns
    Type Description
    T

    shouldReclip(CustomClipper<T>)

    Declaration
    public abstract bool shouldReclip(CustomClipper<T> oldClipper)
    Parameters
    Type Name Description
    CustomClipper<T> oldClipper
    Returns
    Type Description
    System.Boolean

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    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