Class RectangleHandle
public abstract class RectangleHandle : SafeHandle, IDisposable
- Inheritance
-
RectangleHandle
- Implements
- Derived
- Inherited Members
Constructors
RectangleHandle(bool)
protected RectangleHandle(bool ownsHandle)
Parameters
ownsHandle
bool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(RectangleHandle?)
public bool Equals(RectangleHandle? other)
Parameters
other
RectangleHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetHeight()
public int GetHeight()
Returns
GetWidth()
public int GetWidth()
Returns
GetX()
public int GetX()
Returns
GetY()
public int GetY()
Returns
SetHeight(int)
public void SetHeight(int value)
Parameters
value
int
SetWidth(int)
public void SetWidth(int value)
Parameters
value
int
SetX(int)
public void SetX(int value)
Parameters
value
int
SetY(int)
public void SetY(int value)
Parameters
value
int