Struct WicRect
Assembly: JeremyAnsel.DirectX.WinCodec.dll
Syntax
public struct WicRect : IEquatable<WicRect>
Constructors
|
Edit this page
View Source
WicRect(int, int, int, int)
Declaration
public WicRect(int x, int y, int width, int height)
Parameters
Properties
|
Edit this page
View Source
Height
Declaration
public int Height { get; set; }
Property Value
|
Edit this page
View Source
Width
Declaration
public int Width { get; set; }
Property Value
|
Edit this page
View Source
X
Declaration
public int X { get; set; }
Property Value
|
Edit this page
View Source
Y
Declaration
public int Y { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(WicRect)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(WicRect other)
Parameters
Type |
Name |
Description |
WicRect |
other |
An object to compare with this object.
|
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
|
Edit this page
View Source
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
|
Edit this page
View Source
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Operators
|
Edit this page
View Source
operator ==(WicRect, WicRect)
Declaration
public static bool operator ==(WicRect left, WicRect right)
Parameters
Returns
|
Edit this page
View Source
operator !=(WicRect, WicRect)
Declaration
public static bool operator !=(WicRect left, WicRect right)
Parameters
Returns
Implements