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

    Class InputBorder

    Inheritance
    System.Object
    ShapeBorder
    InputBorder
    OutlineInputBorder
    UnderlineInputBorder
    Inherited Members
    ShapeBorder.dimensions
    ShapeBorder.add(ShapeBorder, Boolean)
    ShapeBorder.scale(Single)
    ShapeBorder.lerpFrom(ShapeBorder, Single)
    ShapeBorder.lerpTo(ShapeBorder, Single)
    ShapeBorder.lerp(ShapeBorder, ShapeBorder, Single)
    ShapeBorder.getOuterPath(Rect)
    ShapeBorder.getInnerPath(Rect)
    ShapeBorder.ToString()
    Namespace: Unity.UIWidgets.material
    Syntax
    public abstract class InputBorder : ShapeBorder

    Constructors

    InputBorder(BorderSide)

    Declaration
    public InputBorder(BorderSide borderSide = null)
    Parameters
    Type Name Description
    BorderSide borderSide

    Fields

    borderSide

    Declaration
    public readonly BorderSide borderSide
    Field Value
    Type Description
    BorderSide

    none

    Declaration
    public static readonly InputBorder none
    Field Value
    Type Description
    InputBorder

    Properties

    isOutline

    Declaration
    public virtual bool isOutline { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    copyWith(BorderSide)

    Declaration
    public abstract InputBorder copyWith(BorderSide borderSide = null)
    Parameters
    Type Name Description
    BorderSide borderSide
    Returns
    Type Description
    InputBorder

    paint(Canvas, Rect)

    Declaration
    public override void paint(Canvas canvas, Rect rect)
    Parameters
    Type Name Description
    Canvas canvas
    Rect rect
    Overrides
    ShapeBorder.paint(Canvas, Rect)

    paint(Canvas, Rect, Single, Single, Single)

    Declaration
    public abstract void paint(Canvas canvas, Rect rect, float gapStart, float gapExtent = 0F, float gapPercentage = 0F)
    Parameters
    Type Name Description
    Canvas canvas
    Rect rect
    System.Single gapStart
    System.Single gapExtent
    System.Single gapPercentage
    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