Table of Contents

Class Rectangle

Namespace
Cairo
Assembly
cairo-1.0.dll
public sealed class Rectangle : BoxedRecord, IEquatable<Rectangle>
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

RectangleOwnedHandle

Height

public double Height { get; set; }

Property Value

double

Width

public double Width { get; set; }

Property Value

double

X

public double X { get; set; }

Property Value

double

Y

public double Y { get; set; }

Property Value

double

Methods

Equals(Rectangle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Rectangle? other)

Parameters

other Rectangle

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.