Class ClipContext | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ClipContext

    Inheritance
    System.Object
    ClipContext
    PaintingContext
    Namespace: Unity.UIWidgets.painting
    Syntax
    public abstract class ClipContext

    Properties

    canvas

    Declaration
    public abstract Canvas canvas { get; }
    Property Value
    Type Description
    Canvas

    Methods

    clipPathAndPaint(Path, Clip, Rect, Action)

    Declaration
    public void clipPathAndPaint(Path path, Clip clipBehavior, Rect bounds, Action painter)
    Parameters
    Type Name Description
    Path path
    Clip clipBehavior
    Rect bounds
    System.Action painter

    clipRectAndPaint(Rect, Clip, Rect, Action)

    Declaration
    public void clipRectAndPaint(Rect rect, Clip clipBehavior, Rect bounds, Action painter)
    Parameters
    Type Name Description
    Rect rect
    Clip clipBehavior
    Rect bounds
    System.Action painter

    clipRRectAndPaint(RRect, Clip, Rect, Action)

    Declaration
    public void clipRRectAndPaint(RRect rrect, Clip clipBehavior, Rect bounds, Action painter)
    Parameters
    Type Name Description
    RRect rrect
    Clip clipBehavior
    Rect bounds
    System.Action painter
    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