MonoColorExtensions Class
Definition
Section titled “Definition”Extension methods for Microsoft.Xna.Framework.Color that enable operations involving SadRogue.Primitives.Color.
public static class MonoColorExtensionsInheritance object
Methods
Section titled “Methods”ToSadRogueColor(Color)
Section titled “ToSadRogueColor(Color)”Converts from Microsoft.Xna.Framework.Color to SadRogue.Primitives.Color.
public static Color ToSadRogueColor(this Color self)Parameters
Section titled “Parameters”self Microsoft.Xna.Framework.Color
Returns
Section titled “Returns”SadRogue.Primitives.Color
Matches(Color, Color)
Section titled “Matches(Color, Color)”Compares a Microsoft.Xna.Framework.Color to a SadRogue.Primitives.Color.
public static bool Matches(this Color self, Color other)Parameters
Section titled “Parameters”self Microsoft.Xna.Framework.Color
other SadRogue.Primitives.Color