Class RectangleIntHandle
public abstract class RectangleIntHandle : SafeHandle, IDisposable, IEquatable<RectangleIntHandle>
- Inheritance
-
RectangleIntHandle
- Implements
- Derived
- Inherited Members
Constructors
RectangleIntHandle(bool)
protected RectangleIntHandle(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(RectangleIntHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RectangleIntHandle? other)
Parameters
other
RectangleIntHandleAn object to compare with this object.
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
OwnedCopy()
public RectangleIntOwnedHandle OwnedCopy()
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
UnownedCopy()
public RectangleIntUnownedHandle UnownedCopy()