Class SadRogueColorExtensions
Extension methods for Color that enable operations involving
Microsoft.Xna.Framework.Color.
Inheritance
SadRogueColorExtensions
Assembly: SadConsole.Host.MonoGame.dll
Syntax
public static class SadRogueColorExtensions
Methods
Matches(Color, Color)
Compares a Color to a Microsoft.Xna.Framework.Color.
Declaration
public static bool Matches(this Color self, Color other)
Parameters
Type |
Name |
Description |
Color |
self |
|
Color |
other |
|
Returns
ToMonoColor(Color)
Converts from Color to Microsoft.Xna.Framework.Color.
Declaration
public static Color ToMonoColor(this Color self)
Parameters
Type |
Name |
Description |
Color |
self |
|
Returns