Show / Hide Table of Contents

Class SadRogueColorExtensions

Extension methods for Color that enable operations involving Microsoft.Xna.Framework.Color.

Inheritance
object
SadRogueColorExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadRogue.Primitives
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
Type Description
bool

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
Type Description
Color
In this article

Back to top

Back to top Generated by DocFX