Show / Hide Table of Contents

Class RectangleExtensions

Contains set of operators that match ones defined by other packages for interoperability, so syntax may be uniform. Functionality is similar to the corresponding actual operators for Color.

Inheritance
Object
RectangleExtensions
Namespace: SadRogue.Primitives
Assembly: TheSadRogue.Primitives.dll
Syntax
public static class RectangleExtensions : Object

Methods

Matches(Rectangle, Rectangle)

Compares a two rectangles for equality.

Declaration
public static bool Matches(this Rectangle self, Rectangle other)
Parameters
Type Name Description
Rectangle self
Rectangle other
Returns
Type Description
Boolean
In This Article
Back to top Generated by DocFX