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

    Class DialogTheme

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

    Constructors

    DialogTheme(Color, Nullable<Single>, ShapeBorder, TextStyle, TextStyle)

    Declaration
    public DialogTheme(Color backgroundColor = null, float? elevation = default(float? ), ShapeBorder shape = null, TextStyle titleTextStyle = null, TextStyle contentTextStyle = null)
    Parameters
    Type Name Description
    Color backgroundColor
    System.Nullable<System.Single> elevation
    ShapeBorder shape
    TextStyle titleTextStyle
    TextStyle contentTextStyle

    Fields

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    contentTextStyle

    Declaration
    public readonly TextStyle contentTextStyle
    Field Value
    Type Description
    TextStyle

    elevation

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

    shape

    Declaration
    public readonly ShapeBorder shape
    Field Value
    Type Description
    ShapeBorder

    titleTextStyle

    Declaration
    public readonly TextStyle titleTextStyle
    Field Value
    Type Description
    TextStyle

    Methods

    debugFillProperties(DiagnosticPropertiesBuilder)

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

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

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

    GetHashCode()

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

    lerp(DialogTheme, DialogTheme, Single)

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

    of(BuildContext)

    Declaration
    public static DialogTheme of(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    DialogTheme

    Operators

    Equality(DialogTheme, DialogTheme)

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

    Inequality(DialogTheme, DialogTheme)

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