Class IconThemeData
Inherited Members
Namespace: Unity.UIWidgets.widgets
Syntax
public class IconThemeData : Diagnosticable, IEquatable<IconThemeData>
Constructors
IconThemeData(Color, Nullable<Single>, Nullable<Single>)
Declaration
public IconThemeData(Color color = null, float? opacity = default(float? ), float? size = default(float? ))
Parameters
Type | Name | Description |
---|---|---|
Color | color | |
Nullable<Single> | opacity | |
Nullable<Single> | size |
Fields
color
Declaration
public readonly Color color
Field Value
Type | Description |
---|---|
Color |
size
Declaration
public readonly float? size
Field Value
Type | Description |
---|---|
Nullable<Single> |
Properties
isConcrete
Declaration
public bool isConcrete { get; }
Property Value
Type | Description |
---|---|
Boolean |
opacity
Declaration
public float? opacity { get; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
Methods
copyWith(Color, Nullable<Single>, Nullable<Single>)
Declaration
public IconThemeData copyWith(Color color = null, float? opacity = default(float? ), float? size = default(float? ))
Parameters
Type | Name | Description |
---|---|---|
Color | color | |
Nullable<Single> | opacity | |
Nullable<Single> | size |
Returns
Type | Description |
---|---|
IconThemeData |
debugFillProperties(DiagnosticPropertiesBuilder)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Type | Name | Description |
---|---|---|
DiagnosticPropertiesBuilder | properties |
Overrides
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Equals(IconThemeData)
Declaration
public bool Equals(IconThemeData other)
Parameters
Type | Name | Description |
---|---|---|
IconThemeData | other |
Returns
Type | Description |
---|---|
Boolean |
fallback()
Declaration
public static IconThemeData fallback()
Returns
Type | Description |
---|---|
IconThemeData |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
lerp(IconThemeData, IconThemeData, Single)
Declaration
public static IconThemeData lerp(IconThemeData a, IconThemeData b, float t)
Parameters
Type | Name | Description |
---|---|---|
IconThemeData | a | |
IconThemeData | b | |
Single | t |
Returns
Type | Description |
---|---|
IconThemeData |
merge(IconThemeData)
Declaration
public IconThemeData merge(IconThemeData other)
Parameters
Type | Name | Description |
---|---|---|
IconThemeData | other |
Returns
Type | Description |
---|---|
IconThemeData |
Operators
Equality(IconThemeData, IconThemeData)
Declaration
public static bool operator ==(IconThemeData left, IconThemeData right)
Parameters
Type | Name | Description |
---|---|---|
IconThemeData | left | |
IconThemeData | right |
Returns
Type | Description |
---|---|
Boolean |
Inequality(IconThemeData, IconThemeData)
Declaration
public static bool operator !=(IconThemeData left, IconThemeData right)
Parameters
Type | Name | Description |
---|---|---|
IconThemeData | left | |
IconThemeData | right |
Returns
Type | Description |
---|---|
Boolean |