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