Table of Contents

Class ImageUsage

Namespace
Glitch9.AIDevKit
[Serializable]
public class ImageUsage : Usage, IEquatable<Usage>, IEquatable<ImageUsage>
Inheritance
object
ImageUsage
Implements
IEquatable<Usage>
IEquatable<ImageUsage>
Inherited Members

Constructors

ImageUsage()

public ImageUsage()

ImageUsage(int)

public ImageUsage(int numImages)

Parameters

numImages int

ImageUsage(int, ImageSize, bool)

public ImageUsage(int numImages, ImageSize imageSize, bool noBackground)

Parameters

numImages int
imageSize ImageSize
noBackground bool

ImageUsage(int, ImageSize?, ImageQuality?)

public ImageUsage(int numImages, ImageSize? imageSize, ImageQuality? imageQuality)

Parameters

numImages int
imageSize ImageSize?
imageQuality ImageQuality?

Fields

imageQuality

public ImageQuality imageQuality

Field Value

ImageQuality

imageSize

public ImageSize imageSize

Field Value

ImageSize

noBackground

public bool noBackground

Field Value

bool

numImages

public int numImages

Field Value

int

Properties

HasValue

public override bool HasValue { get; }

Property Value

bool

Methods

Equals(ImageUsage)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ImageUsage other)

Parameters

other ImageUsage

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInspectorValueName()

public override string GetInspectorValueName()

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.