Class RectangleHandle
public abstract class RectangleHandle : SafeHandle, IDisposable
- Inheritance
-
RectangleHandle
- Implements
- Derived
- Inherited Members
Constructors
RectangleHandle(bool)
protected RectangleHandle(bool ownsHandle)
Parameters
ownsHandlebool
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
otherRectangleHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe 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
SetHeight(double)
public void SetHeight(double value)
Parameters
valuedouble
SetWidth(double)
public void SetWidth(double value)
Parameters
valuedouble
SetX(double)
public void SetX(double value)
Parameters
valuedouble
SetY(double)
public void SetY(double value)
Parameters
valuedouble