Class Rectangle
- Namespace
- Cairo
- Assembly
- cairo-1.0.dll
public sealed class Rectangle : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Rectangle>, IDisposable
- Inheritance
-
Rectangle
- Implements
- Inherited Members
Constructors
Rectangle()
public Rectangle()
Rectangle(RectangleOwnedHandle)
public Rectangle(RectangleOwnedHandle handle)
Parameters
handle
RectangleOwnedHandle
Properties
Handle
public RectangleOwnedHandle Handle { get; }
Property Value
Height
public double Height { get; set; }
Property Value
Width
public double Width { get; set; }
Property Value
X
public double X { get; set; }
Property Value
Y
public double Y { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Rectangle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Rectangle? other)
Parameters
other
RectangleAn 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
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.