CKFinder 3 – ASP.NET Connector Documentation
SizeAndQuality Class Reference

A size and quality. More...

Inheritance diagram for SizeAndQuality:
SizeDefinition

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...
 

Detailed Description

A size and quality.

Constructor & Destructor Documentation

◆ SizeAndQuality() [1/2]

SizeAndQuality ( int  width,
int  height,
ImageQuality  quality 
)
inline

Constructs a new instance of SizeAndQuality.

Parameters
widthA width in pixels.
heightA height in pixels.
qualityA quality.

◆ SizeAndQuality() [2/2]

SizeAndQuality ( Size  size,
ImageQuality  quality 
)
inline

Constructs a new instance of SizeAndQuality.

Parameters
sizeA size.
qualityA quality.

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  obj)
inline

Tests whether the specified object is a SizeAndQuality class and is equivalent to this SizeAndQuality class.

Parameters
objThe object to test.
Returns
true if obj is a SizeAndQuality class equivalent to this SizeAndQuality class; otherwise, false.

◆ Equals() [2/2]

bool Equals ( SizeAndQuality  other)
inlineprotected

Tests whether the specified SizeAndQuality class is equivalent to this SizeAndQuality class.

Parameters
otherThe SizeAndQuality object to test.
Returns
true if other is equivalent to this SizeAndQuality class; otherwise, false.

◆ GetHashCode()

override int GetHashCode ( )
inline

Returns a hash code for this SizeAndQuality class.

Returns
An integer value that specifies the hash code for this SizeAndQuality.

Member Data Documentation

◆ Height

int Height => Size.Height

Gets the height in pixels.

◆ Width

int Width => Size.Width

Gets the width in pixels.

Property Documentation

◆ Quality

ImageQuality Quality
get

Gets the quality.

◆ Size

Size Size
get

Gets the size.


The documentation for this class was generated from the following file: