Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Microsoft
Xna
Framework
ColorExtensions
RedOnly
Microsoft.Xna.Framework.ColorExtensions.RedOnly C# (CSharp) Method
ColorExtensions Class Documentation
Mostra file
Open project: Thraka/SadConsole
RedOnly()
public
static
method
Returns a new Color using only the Red value of this color.
public
static
RedOnly
(
this
color
) :
Color
color
this
Object instance.
return
Color
public static Color RedOnly(this Color color) { return new Color(color.R, 0, 0); }
ColorExtensions
BlueOnly
FromParser
GetBrightness
GetHue
GetLuma
GetRandomColor
GetSaturation
GreenOnly
Hue_2_RGB
LerpSteps
RedOnly
SetHSL
ToInteger
ToParser