Inheritance
System.Object
ImageConfiguration
public class ImageConfiguration : IEquatable<ImageConfiguration>
Constructors
Declaration
public ImageConfiguration(AssetBundle bundle = null, float? devicePixelRatio = default(float? ), Locale locale = null, Size size = null, RuntimePlatform? platform = default(RuntimePlatform? ))
Parameters
Type |
Name |
Description |
AssetBundle |
bundle |
|
System.Nullable<System.Single> |
devicePixelRatio |
|
Locale |
locale |
|
Size |
size |
|
System.Nullable<RuntimePlatform> |
platform |
|
Fields
Declaration
public readonly AssetBundle bundle
Field Value
Type |
Description |
AssetBundle |
|
Declaration
public readonly float? devicePixelRatio
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public static readonly ImageConfiguration empty
Field Value
Declaration
public readonly Locale locale
Field Value
Declaration
public readonly RuntimePlatform? platform
Field Value
Type |
Description |
System.Nullable<RuntimePlatform> |
|
Declaration
public readonly Size size
Field Value
Methods
Declaration
public ImageConfiguration copyWith(AssetBundle bundle = null, float? devicePixelRatio = default(float? ), Locale locale = null, Size size = null, RuntimePlatform? platform = default(RuntimePlatform? ))
Parameters
Type |
Name |
Description |
AssetBundle |
bundle |
|
System.Nullable<System.Single> |
devicePixelRatio |
|
Locale |
locale |
|
Size |
size |
|
System.Nullable<RuntimePlatform> |
platform |
|
Returns
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)
Declaration
public bool Equals(ImageConfiguration other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(ImageConfiguration left, ImageConfiguration right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(ImageConfiguration left, ImageConfiguration right)
Parameters
Returns
Type |
Description |
System.Boolean |
|