Inheritance
System.Object
FileImage
public class FileImage : ImageProvider<FileImage>, IEquatable<FileImage>
Constructors
Declaration
public FileImage(string file, float scale = 1F)
Parameters
Type |
Name |
Description |
System.String |
file |
|
System.Single |
scale |
|
Fields
Declaration
public readonly string file
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly float scale
Field Value
Type |
Description |
System.Single |
|
Methods
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(FileImage other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
protected override ImageStreamCompleter load(FileImage key)
Parameters
Returns
Overrides
Unity.UIWidgets.painting.ImageProvider<Unity.UIWidgets.painting.FileImage>.load(Unity.UIWidgets.painting.FileImage)
Declaration
protected override IPromise<FileImage> obtainKey(ImageConfiguration configuration)
Parameters
Returns
Overrides
Unity.UIWidgets.painting.ImageProvider<Unity.UIWidgets.painting.FileImage>.obtainKey(Unity.UIWidgets.painting.ImageConfiguration)
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(FileImage left, FileImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(FileImage left, FileImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|