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

    Class BoxShadow

    Inheritance
    System.Object
    BoxShadow
    Namespace: Unity.UIWidgets.painting
    Syntax
    public class BoxShadow : IEquatable<BoxShadow>

    Constructors

    BoxShadow(Color, Offset, Single, Single)

    Declaration
    public BoxShadow(Color color = null, Offset offset = null, float blurRadius = 0F, float spreadRadius = 0F)
    Parameters
    Type Name Description
    Color color
    Offset offset
    System.Single blurRadius
    System.Single spreadRadius

    Fields

    blurRadius

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

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    offset

    Declaration
    public readonly Offset offset
    Field Value
    Type Description
    Offset

    spreadRadius

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

    Properties

    blurSigma

    Declaration
    public float blurSigma { get; }
    Property Value
    Type Description
    System.Single

    Methods

    convertRadiusToSigma(Single)

    Declaration
    public static float convertRadiusToSigma(float radius)
    Parameters
    Type Name Description
    System.Single radius
    Returns
    Type Description
    System.Single

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

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

    GetHashCode()

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

    lerp(BoxShadow, BoxShadow, Single)

    Declaration
    public static BoxShadow lerp(BoxShadow a, BoxShadow b, float t)
    Parameters
    Type Name Description
    BoxShadow a
    BoxShadow b
    System.Single t
    Returns
    Type Description
    BoxShadow

    lerpList(List<BoxShadow>, List<BoxShadow>, Single)

    Declaration
    public static List<BoxShadow> lerpList(List<BoxShadow> a, List<BoxShadow> b, float t)
    Parameters
    Type Name Description
    System.Collections.Generic.List<BoxShadow> a
    System.Collections.Generic.List<BoxShadow> b
    System.Single t
    Returns
    Type Description
    System.Collections.Generic.List<BoxShadow>

    scale(Single)

    Declaration
    public BoxShadow scale(float factor)
    Parameters
    Type Name Description
    System.Single factor
    Returns
    Type Description
    BoxShadow

    toPaint()

    Declaration
    public Paint toPaint()
    Returns
    Type Description
    Paint

    ToString()

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

    Operators

    Equality(BoxShadow, BoxShadow)

    Declaration
    public static bool operator ==(BoxShadow a, BoxShadow b)
    Parameters
    Type Name Description
    BoxShadow a
    BoxShadow b
    Returns
    Type Description
    System.Boolean

    Inequality(BoxShadow, BoxShadow)

    Declaration
    public static bool operator !=(BoxShadow a, BoxShadow b)
    Parameters
    Type Name Description
    BoxShadow a
    BoxShadow b
    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