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

    Class ChipThemeData

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

    Constructors

    ChipThemeData(Color, Color, Color, Color, Color, EdgeInsets, EdgeInsets, ShapeBorder, TextStyle, TextStyle, Nullable<Brightness>, Nullable<Single>, Nullable<Single>)

    Declaration
    public ChipThemeData(Color backgroundColor = null, Color deleteIconColor = null, Color disabledColor = null, Color selectedColor = null, Color secondarySelectedColor = null, EdgeInsets labelPadding = null, EdgeInsets padding = null, ShapeBorder shape = null, TextStyle labelStyle = null, TextStyle secondaryLabelStyle = null, Brightness? brightness = default(Brightness? ), float? elevation = default(float? ), float? pressElevation = default(float? ))
    Parameters
    Type Name Description
    Color backgroundColor
    Color deleteIconColor
    Color disabledColor
    Color selectedColor
    Color secondarySelectedColor
    EdgeInsets labelPadding
    EdgeInsets padding
    ShapeBorder shape
    TextStyle labelStyle
    TextStyle secondaryLabelStyle
    System.Nullable<Brightness> brightness
    System.Nullable<System.Single> elevation
    System.Nullable<System.Single> pressElevation

    Fields

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    brightness

    Declaration
    public readonly Brightness? brightness
    Field Value
    Type Description
    System.Nullable<Brightness>

    deleteIconColor

    Declaration
    public readonly Color deleteIconColor
    Field Value
    Type Description
    Color

    disabledColor

    Declaration
    public readonly Color disabledColor
    Field Value
    Type Description
    Color

    elevation

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

    labelPadding

    Declaration
    public readonly EdgeInsets labelPadding
    Field Value
    Type Description
    EdgeInsets

    labelStyle

    Declaration
    public readonly TextStyle labelStyle
    Field Value
    Type Description
    TextStyle

    padding

    Declaration
    public readonly EdgeInsets padding
    Field Value
    Type Description
    EdgeInsets

    pressElevation

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

    secondaryLabelStyle

    Declaration
    public readonly TextStyle secondaryLabelStyle
    Field Value
    Type Description
    TextStyle

    secondarySelectedColor

    Declaration
    public readonly Color secondarySelectedColor
    Field Value
    Type Description
    Color

    selectedColor

    Declaration
    public readonly Color selectedColor
    Field Value
    Type Description
    Color

    shape

    Declaration
    public readonly ShapeBorder shape
    Field Value
    Type Description
    ShapeBorder

    Methods

    copyWith(Color, Color, Color, Color, Color, EdgeInsets, EdgeInsets, ShapeBorder, TextStyle, TextStyle, Nullable<Brightness>, Nullable<Single>, Nullable<Single>)

    Declaration
    public ChipThemeData copyWith(Color backgroundColor = null, Color deleteIconColor = null, Color disabledColor = null, Color selectedColor = null, Color secondarySelectedColor = null, EdgeInsets labelPadding = null, EdgeInsets padding = null, ShapeBorder shape = null, TextStyle labelStyle = null, TextStyle secondaryLabelStyle = null, Brightness? brightness = default(Brightness? ), float? elevation = default(float? ), float? pressElevation = default(float? ))
    Parameters
    Type Name Description
    Color backgroundColor
    Color deleteIconColor
    Color disabledColor
    Color selectedColor
    Color secondarySelectedColor
    EdgeInsets labelPadding
    EdgeInsets padding
    ShapeBorder shape
    TextStyle labelStyle
    TextStyle secondaryLabelStyle
    System.Nullable<Brightness> brightness
    System.Nullable<System.Single> elevation
    System.Nullable<System.Single> pressElevation
    Returns
    Type Description
    ChipThemeData

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

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

    fromDefaults(Nullable<Brightness>, Color, Color, TextStyle)

    Declaration
    public static ChipThemeData fromDefaults(Brightness? brightness = default(Brightness? ), Color primaryColor = null, Color secondaryColor = null, TextStyle labelStyle = null)
    Parameters
    Type Name Description
    System.Nullable<Brightness> brightness
    Color primaryColor
    Color secondaryColor
    TextStyle labelStyle
    Returns
    Type Description
    ChipThemeData

    GetHashCode()

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

    lerp(ChipThemeData, ChipThemeData, Single)

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

    Operators

    Equality(ChipThemeData, ChipThemeData)

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

    Inequality(ChipThemeData, ChipThemeData)

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