Inheritance
System.Object
MemoryImage
public class MemoryImage : ImageProvider<MemoryImage>, IEquatable<MemoryImage>
Constructors
Declaration
public MemoryImage(byte[] bytes, float scale = 1F)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
System.Single |
scale |
|
Fields
Declaration
public readonly byte[] bytes
Field Value
Type |
Description |
System.Byte[] |
|
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(MemoryImage 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(MemoryImage key)
Parameters
Returns
Overrides
Unity.UIWidgets.painting.ImageProvider<Unity.UIWidgets.painting.MemoryImage>.load(Unity.UIWidgets.painting.MemoryImage)
Declaration
protected override IPromise<MemoryImage> obtainKey(ImageConfiguration configuration)
Parameters
Returns
Overrides
Unity.UIWidgets.painting.ImageProvider<Unity.UIWidgets.painting.MemoryImage>.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 ==(MemoryImage left, MemoryImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(MemoryImage left, MemoryImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|