Class RectangleHandle
public abstract class RectangleHandle : SafeHandle, IDisposable, IEquatable<RectangleHandle>
- 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?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(RectangleHandle? other)
Parameters
other
RectangleHandleAn 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 double GetHeight()
Returns
GetWidth()
public double GetWidth()
Returns
GetX()
public double GetX()
Returns
GetY()
public double GetY()
Returns
OwnedCopy()
public RectangleOwnedHandle OwnedCopy()
Returns
SetHeight(double)
public void SetHeight(double value)
Parameters
value
double
SetWidth(double)
public void SetWidth(double value)
Parameters
value
double
SetX(double)
public void SetX(double value)
Parameters
value
double
SetY(double)
public void SetY(double value)
Parameters
value
double
UnownedCopy()
public RectangleUnownedHandle UnownedCopy()