Show / Hide Table of Contents

Class MonoColorExtensions

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

Inheritance
object
MonoColorExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Xna.Framework
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
Type Description
bool

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

Back to top

Back to top Generated by DocFX