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

    Class CardTheme

    Inheritance
    System.Object
    Diagnosticable
    CardTheme
    Inherited Members
    Diagnosticable.toStringShort()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Diagnosticable.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    Namespace: Unity.UIWidgets.material
    Syntax
    public class CardTheme : Diagnosticable

    Constructors

    CardTheme(Nullable<Clip>, Color, Nullable<Single>, EdgeInsets, ShapeBorder)

    Declaration
    public CardTheme(Clip? clipBehavior = default(Clip? ), Color color = null, float? elevation = default(float? ), EdgeInsets margin = null, ShapeBorder shape = null)
    Parameters
    Type Name Description
    System.Nullable<Clip> clipBehavior
    Color color
    System.Nullable<System.Single> elevation
    EdgeInsets margin
    ShapeBorder shape

    Fields

    clipBehavior

    Declaration
    public readonly Clip? clipBehavior
    Field Value
    Type Description
    System.Nullable<Clip>

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    elevation

    Declaration
    public readonly float? elevation
    Field Value
    Type Description
    System.Nullable<System.Single>

    margin

    Declaration
    public readonly EdgeInsets margin
    Field Value
    Type Description
    EdgeInsets

    shape

    Declaration
    public readonly ShapeBorder shape
    Field Value
    Type Description
    ShapeBorder

    Methods

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Diagnosticable.debugFillProperties(DiagnosticPropertiesBuilder)

    Equals(CardTheme)

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

    GetHashCode()

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

    lerp(CardTheme, CardTheme, Single)

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

    of(BuildContext)

    Declaration
    public static CardTheme of(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    CardTheme
    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