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