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

    Class BeveledRectangleBorder

    Inheritance
    System.Object
    ShapeBorder
    BeveledRectangleBorder
    Inherited Members
    ShapeBorder.add(ShapeBorder, Boolean)
    ShapeBorder.lerp(ShapeBorder, ShapeBorder, Single)
    Namespace: Unity.UIWidgets.painting
    Syntax
    public class BeveledRectangleBorder : ShapeBorder, IEquatable<BeveledRectangleBorder>

    Constructors

    BeveledRectangleBorder(BorderSide, BorderRadius)

    Declaration
    public BeveledRectangleBorder(BorderSide side = null, BorderRadius borderRadius = null)
    Parameters
    Type Name Description
    BorderSide side
    BorderRadius borderRadius

    Fields

    borderRadius

    Declaration
    public readonly BorderRadius borderRadius
    Field Value
    Type Description
    BorderRadius

    side

    Declaration
    public readonly BorderSide side
    Field Value
    Type Description
    BorderSide

    Properties

    dimensions

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

    Methods

    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(BeveledRectangleBorder)

    Declaration
    public bool Equals(BeveledRectangleBorder other)
    Parameters
    Type Name Description
    BeveledRectangleBorder 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)

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

    scale(Single)

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    ShapeBorder.ToString()

    Operators

    Equality(BeveledRectangleBorder, BeveledRectangleBorder)

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

    Inequality(BeveledRectangleBorder, BeveledRectangleBorder)

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