Wiki

Clone wiki

RogueSharp / RogueSharp / Rectangle / op_Equality

RectangleEquality Operator

Compares two rectangles for equality

Namespace: RogueSharp
Assembly:

Syntax

public static bool operator ==(
    Rectangle a,
    Rectangle b
)

Parameters

a

Type: RogueSharpRectangle
Rectangle on the left side of the equals sign

b

Type: RogueSharpRectangle
Rectangle on the right side of the equals sign

Return Value

Type: Boolean
True if the rectangles are equal; False otherwise

See Also

Reference

Rectangle Class
RogueSharp Namespace

[3]: 2014-2016 Faron Bracy

Updated