C# Class CarpMuffin.Extensions.ColorExtensions

Color Extensions
Mostra file Open project: BetaToast/CarpMuffin

Public Methods

Method Description
Random ( this color, float min = 0f, float max = 1f ) : Microsoft.Xna.Framework.Color
WithOpacity ( this color, float opacity ) : Microsoft.Xna.Framework.Color

Method Details

Random() public static method

public static Random ( this color, float min = 0f, float max = 1f ) : Microsoft.Xna.Framework.Color
color this
min float
max float
return Microsoft.Xna.Framework.Color

WithOpacity() public static method

public static WithOpacity ( this color, float opacity ) : Microsoft.Xna.Framework.Color
color this
opacity float
return Microsoft.Xna.Framework.Color