Show / Hide Table of Contents

Class ColorExtensions

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
ColorExtensions
Namespace: SadRogue.Primitives
Assembly: TheSadRogue.Primitives.dll
Syntax
public static class ColorExtensions : Object

Methods

Matches(Color, Color)

Compares two colors for equality.

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