A size definition. More...
Public Member Functions | |
SizeDefinition (string name, int width, int height, ImageQuality quality) | |
Constructs a new instance of SizeDefinition. More... | |
override bool | Equals (object obj) |
Tests whether the specified object is a SizeDefinition class and is equivalent to this SizeDefinition class. More... | |
override int | GetHashCode () |
Returns a hash code for this SizeDefinition class. More... | |
Public Member Functions inherited from SizeAndQuality | |
SizeAndQuality (int width, int height, ImageQuality quality) | |
Constructs a new instance of SizeAndQuality. More... | |
SizeAndQuality (Size size, ImageQuality quality) | |
Constructs a new instance of SizeAndQuality. More... | |
override bool | Equals (object obj) |
Tests whether the specified object is a SizeAndQuality class and is equivalent to this SizeAndQuality class. More... | |
override int | GetHashCode () |
Returns a hash code for this SizeAndQuality class. More... | |
Protected Member Functions | |
bool | Equals (SizeDefinition other) |
Tests whether the specified SizeDefinition class is equivalent to this SizeDefinition class. More... | |
Protected Member Functions inherited from SizeAndQuality | |
bool | Equals (SizeAndQuality other) |
Tests whether the specified SizeAndQuality class is equivalent to this SizeAndQuality class. More... | |
Properties | |
string | Name [get] |
Gets the size name. More... | |
Properties inherited from SizeAndQuality | |
Size | Size [get] |
Gets the size. More... | |
ImageQuality | Quality [get] |
Gets the quality. More... | |
Additional Inherited Members | |
Public Attributes inherited from SizeAndQuality | |
int | Width => Size.Width |
Gets the width in pixels. More... | |
int | Height => Size.Height |
Gets the height in pixels. More... | |
A size definition.
|
inline |
Constructs a new instance of SizeDefinition.
name | A name of the size. |
width | A width in pixels. |
height | A height in pixels. |
quality | A quality. |
|
inline |
Tests whether the specified object is a SizeDefinition class and is equivalent to this SizeDefinition class.
obj | The object to test. |
|
inlineprotected |
Tests whether the specified SizeDefinition class is equivalent to this SizeDefinition class.
other | The SizeDefinition object to test. |
|
inline |
Returns a hash code for this SizeDefinition class.
|
get |
Gets the size name.