A size and quality. More...
Public Member Functions | |
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... | |
Public Attributes | |
int | Width => Size.Width |
Gets the width in pixels. More... | |
int | Height => Size.Height |
Gets the height in pixels. More... | |
Protected Member Functions | |
bool | Equals (SizeAndQuality other) |
Tests whether the specified SizeAndQuality class is equivalent to this SizeAndQuality class. More... | |
Properties | |
Size | Size [get] |
Gets the size. More... | |
ImageQuality | Quality [get] |
Gets the quality. More... | |
A size and quality.
|
inline |
Constructs a new instance of SizeAndQuality.
width | A width in pixels. |
height | A height in pixels. |
quality | A quality. |
|
inline |
Constructs a new instance of SizeAndQuality.
size | A size. |
quality | A quality. |
|
inline |
Tests whether the specified object is a SizeAndQuality class and is equivalent to this SizeAndQuality class.
obj | The object to test. |
|
inlineprotected |
Tests whether the specified SizeAndQuality class is equivalent to this SizeAndQuality class.
other | The SizeAndQuality object to test. |
|
inline |
Returns a hash code for this SizeAndQuality class.
int Height => Size.Height |
Gets the height in pixels.
int Width => Size.Width |
Gets the width in pixels.
|
get |
Gets the quality.
|
get |
Gets the size.