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

    Class OutlineInputBorder

    Inheritance
    System.Object
    ShapeBorder
    InputBorder
    OutlineInputBorder
    Inherited Members
    InputBorder.none
    InputBorder.borderSide
    InputBorder.paint(Canvas, Rect)
    ShapeBorder.add(ShapeBorder, Boolean)
    ShapeBorder.lerp(ShapeBorder, ShapeBorder, Single)
    ShapeBorder.ToString()
    Namespace: Unity.UIWidgets.material
    Syntax
    public class OutlineInputBorder : InputBorder

    Constructors

    OutlineInputBorder(BorderSide, BorderRadius, Single)

    Declaration
    public OutlineInputBorder(BorderSide borderSide = null, BorderRadius borderRadius = null, float gapPadding = 4F)
    Parameters
    Type Name Description
    BorderSide borderSide
    BorderRadius borderRadius
    System.Single gapPadding

    Fields

    borderRadius

    Declaration
    public readonly BorderRadius borderRadius
    Field Value
    Type Description
    BorderRadius

    gapPadding

    Declaration
    public readonly float gapPadding
    Field Value
    Type Description
    System.Single

    Properties

    dimensions

    Declaration
    public override EdgeInsets dimensions { get; }
    Property Value
    Type Description
    EdgeInsets
    Overrides
    ShapeBorder.dimensions

    isOutline

    Declaration
    public override bool isOutline { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    InputBorder.isOutline

    Methods

    copyWith(BorderSide)

    Declaration
    public override InputBorder copyWith(BorderSide borderSide)
    Parameters
    Type Name Description
    BorderSide borderSide
    Returns
    Type Description
    InputBorder
    Overrides
    InputBorder.copyWith(BorderSide)

    copyWith(BorderSide, BorderRadius, Nullable<Single>)

    Declaration
    public OutlineInputBorder copyWith(BorderSide borderSide, BorderRadius borderRadius, float? gapPadding)
    Parameters
    Type Name Description
    BorderSide borderSide
    BorderRadius borderRadius
    System.Nullable<System.Single> gapPadding
    Returns
    Type Description
    OutlineInputBorder

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    Equals(OutlineInputBorder)

    Declaration
    public bool Equals(OutlineInputBorder other)
    Parameters
    Type Name Description
    OutlineInputBorder other
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    getInnerPath(Rect)

    Declaration
    public override Path getInnerPath(Rect rect)
    Parameters
    Type Name Description
    Rect rect
    Returns
    Type Description
    Path
    Overrides
    ShapeBorder.getInnerPath(Rect)

    getOuterPath(Rect)

    Declaration
    public override Path getOuterPath(Rect rect)
    Parameters
    Type Name Description
    Rect rect
    Returns
    Type Description
    Path
    Overrides
    ShapeBorder.getOuterPath(Rect)

    lerpFrom(ShapeBorder, Single)

    Declaration
    public override ShapeBorder lerpFrom(ShapeBorder a, float t)
    Parameters
    Type Name Description
    ShapeBorder a
    System.Single t
    Returns
    Type Description
    ShapeBorder
    Overrides
    ShapeBorder.lerpFrom(ShapeBorder, Single)

    lerpTo(ShapeBorder, Single)

    Declaration
    public override ShapeBorder lerpTo(ShapeBorder b, float t)
    Parameters
    Type Name Description
    ShapeBorder b
    System.Single t
    Returns
    Type Description
    ShapeBorder
    Overrides
    ShapeBorder.lerpTo(ShapeBorder, Single)

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

    Declaration
    public override 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
    Overrides
    InputBorder.paint(Canvas, Rect, Single, Single, Single)

    scale(Single)

    Declaration
    public override ShapeBorder scale(float t)
    Parameters
    Type Name Description
    System.Single t
    Returns
    Type Description
    ShapeBorder
    Overrides
    ShapeBorder.scale(Single)

    Operators

    Equality(OutlineInputBorder, OutlineInputBorder)

    Declaration
    public static bool operator ==(OutlineInputBorder left, OutlineInputBorder right)
    Parameters
    Type Name Description
    OutlineInputBorder left
    OutlineInputBorder right
    Returns
    Type Description
    System.Boolean

    Inequality(OutlineInputBorder, OutlineInputBorder)

    Declaration
    public static bool operator !=(OutlineInputBorder left, OutlineInputBorder right)
    Parameters
    Type Name Description
    OutlineInputBorder left
    OutlineInputBorder right
    Returns
    Type Description
    System.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