Jypeli  5
The simple game programming library
Color tietuereferenssi

Väri. Lisää...

Julkiset jäsenfunktiot

 Color (byte red, byte green, byte blue)
 
 Color (byte red, byte green, byte blue, byte alpha)
 
 Color (int red, int green, int blue, int alpha)
 
 Color (int red, int green, int blue)
 
 Color (Color rgb, byte alpha)
 
 Color (double red, double green, double blue)
 
 Color (double red, double green, double blue, double alpha)
 
int ToInt ()
 Muuttaa värin ARGB-kokonaisluvuksi Lisää...
 
int ToIntRGB ()
 Muuttaa värin RGB-kokonaisluvuksi Lisää...
 
uint ToUInt ()
 Muuttaa värin ARGB-kokonaisluvuksi Lisää...
 
override string ToString ()
 Palautetaan väri heksamerkkijonona Lisää...
 
string ToString (bool alpha)
 Palautetaan väri heksamerkkijonona. Lisää...
 
override int GetHashCode ()
 
override bool Equals (Object c2)
 

Staattiset julkiset jäsenfunktiot

static uint PackRGB (byte r, byte g, byte b, byte a=255)
 Pakkaa kolme kokonaislukua väriä vastaavaksi kokonaisluvuksi Lisää...
 
static uint PackRGB (int r, int g, int b, int a=255)
 Pakkaa kolme kokonaislukua väriä vastaavaksi kokonaisluvuksi Lisää...
 
static Color FromHexCode (string hexString)
 Palauttaa heksakoodia vastaavan värin. Lisää...
 
static Color FromPaintDotNet (int row, int col)
 Antaa värin Paint.net -ohjelman paletista. Lisää...
 
static byte GetAlpha (uint c)
 Ottaa kokonaisluvusta alpha-arvon Lisää...
 
static byte GetAlpha (int c)
 Ottaa kokonaisluvusta alpha-arvon Lisää...
 
static byte GetRed (uint c)
 Ottaa kokonaisluvusta punaisen värin Lisää...
 
static byte GetGreen (uint c)
 Ottaa kokonaisluvusta vihreän värin Lisää...
 
static byte GetBlue (uint c)
 Ottaa kokonaisluvusta sinisen värin Lisää...
 
static Color IntToColor (int c)
 Tekee kokonaisluvusta värin Lisää...
 
static Color UIntToColor (uint c)
 Tekee kokonaisluvusta värin Lisää...
 
static double Distance (Color a, Color b)
 Laskee kahden värin (euklidisen) etäisyyden RGB-väriavaruudessa. Värikomponentit ovat välillä 0-255 joten suurin mahdollinen etäisyys (musta ja valkoinen) on noin 441,68. Lisää...
 
static bool operator== (Color c1, Color c2)
 
static bool operator== (Color c1, uint i2)
 
static bool operator!= (Color c1, uint i2)
 
static bool operator== (Color c1, int i2)
 
static bool operator!= (Color c1, int i2)
 
static bool operator!= (Color c1, Color c2)
 
static Color Lerp (Color value1, Color value2, double amount)
 
static Color Darker (Color c, int howMuch)
 Antaa tummemman värin. Vähentaa jokaista kolmea osaväriä arvon howMuch verran. Lisää...
 
static Color Lighter (Color c, int howMuch)
 Antaa kirkkaamman värin. Kasvattaa jokaista kolmea osaväriä arvon howMuch verran. Lisää...
 
static Color Mix (params Color[] colors)
 Sekoittaa kahta tai useampaa väriä. Lisää...
 

Julkiset attribuutit

byte RedComponent
 Punainen värikomponentti välillä 0-255 Lisää...
 
byte GreenComponent
 Vihreä värikomponentti välillä 0-255 Lisää...
 
byte BlueComponent
 Sininen värikomponentti välillä 0-255 Lisää...
 
byte AlphaComponent
 Läpinäkymättömyys välillä 0-255 Lisää...
 

Staattiset julkiset attribuutit

static readonly Color AshGray = new Color( 178, 190, 181, 255 )
 Tuhkanharmaa. Lisää...
 
static readonly Color Aqua = new Color( 0, 255, 255, 255 )
 Vedensininen. Lisää...
 
static readonly Color Aquamarine = new Color( 127, 255, 212, 255 )
 Akvamariini. Lisää...
 
static readonly Color Azure = new Color( 0, 148, 255, 255 )
 Asuurinsininen. Lisää...
 
static readonly Color Beige = new Color( 245, 245, 220, 255 )
 Beessi. Lisää...
 
static readonly Color Black = new Color( 0, 0, 0, 255 )
 Musta. Lisää...
 
static readonly Color BloodRed = new Color( 127, 0, 55, 255 )
 Verenpunainen. Lisää...
 
static readonly Color Blue = new Color( 0, 0, 255, 255 )
 Sininen. Lisää...
 
static readonly Color BlueGray = new Color( 102, 153, 204, 255 )
 Siniharmaa. Lisää...
 
static readonly Color BrightGreen = new Color( 0, 255, 33, 255 )
 Kirkkaan vihreä. Lisää...
 
static readonly Color Brown = new Color( 127, 51, 0, 255 )
 Ruskea. Lisää...
 
static readonly Color BrownGreen = new Color( 91, 127, 0, 255 )
 Ruskeanvihreä. Lisää...
 
static readonly Color Crimson = new Color( 220, 20, 60, 255 )
 Karmiininpunainen. Lisää...
 
static readonly Color Cyan = new Color( 0, 255, 255, 255 )
 Syaani. Lisää...
 
static readonly Color Charcoal = new Color( 54, 69, 79, 255 )
 Hiilenmusta. Lisää...
 
static readonly Color DarkAzure = new Color( 0, 74, 127, 255 )
 Tumma asuuri. Lisää...
 
static readonly Color DarkBrown = new Color( 92, 64, 51, 255 )
 Tumma ruskea. Lisää...
 
static readonly Color DarkBlue = new Color( 0, 19, 127, 255 )
 Tumma sininen. Lisää...
 
static readonly Color DarkCyan = new Color( 0, 127, 127, 255 )
 Tumma syaani. Lisää...
 
static readonly Color DarkForestGreen = new Color( 0, 127, 14 )
 Tumma metsänvihreä. Lisää...
 
static readonly Color DarkGray = new Color( 64, 64, 64, 255 )
 Tumma harmaa. Lisää...
 
static readonly Color DarkGreen = new Color( 0, 100, 0, 255 )
 Tumma vihreä. Lisää...
 
static readonly Color DarkJungleGreen = new Color( 0, 127, 70, 255 )
 Tumma viidakonvihreä. Lisää...
 
static readonly Color DarkMagenta = Color.Purple
 Tumma magenta (purppura). Lisää...
 
static readonly Color DarkOrange = Color.Brown
 Tumma oranssi / ruskea. Lisää...
 
static readonly Color DarkRed = new Color( 127, 0, 0, 255 )
 Tumma punainen. Lisää...
 
static readonly Color DarkTurquoise = new Color( 0, 206, 209, 255 )
 Tumma turkoosi. Lisää...
 
static readonly Color DarkViolet = new Color( 87, 0, 127, 255 )
 Tumma violetti. Lisää...
 
static readonly Color DarkYellow = Color.Olive
 Tumma keltainen (oliivi). Lisää...
 
static readonly Color DarkYellowGreen = Color.BrownGreen
 Tumma keltavihreä (ruskeanvihreä). Lisää...
 
static readonly Color Emerald = new Color( 80, 200, 120, 255 )
 Smaragdinvihreä. Lisää...
 
static readonly Color ForestGreen = new Color( 38, 127, 0 )
 Metsänvihreä. Lisää...
 
static readonly Color Fuchsia = new Color( 255, 0, 255, 255 )
 Fuksia (pinkki) Lisää...
 
static readonly Color Gold = new Color( 255, 216, 0, 255 )
 Kulta. Lisää...
 
static readonly Color Gray = new Color( 128, 128, 128, 255 )
 Harmaa. Lisää...
 
static readonly Color Green = new Color( 0, 128, 0, 255 )
 Vihreä. Lisää...
 
static readonly Color GreenYellow = new Color( 173, 255, 47, 255 )
 Keltavihreä. Lisää...
 
static readonly Color HanPurple = new Color( 72, 0, 255, 255 )
 Sinipurppurainen väri Han-dynastian ajoilta. Lisää...
 
static readonly Color Harlequin = new Color( 76, 255, 0, 255 )
 Harlekiini (hieman keltaisella sävytetty kirkas vihreä). Lisää...
 
static readonly Color HotPink = new Color( 255, 105, 180, 255 )
 Pinkki. Lisää...
 
static readonly Color Ivory = new Color( 255, 255, 240, 255 )
 Norsunluu. Lisää...
 
static readonly Color JungleGreen = new Color( 41, 171, 135, 255 )
 Viidakonvihreä. Lisää...
 
static readonly Color Lavender = new Color( 220, 208, 255, 255 )
 Laventeli. Lisää...
 
static readonly Color LightBlue = new Color( 173, 216, 230, 255 )
 Vaalea sininen. Lisää...
 
static readonly Color LightCyan = new Color( 224, 255, 255, 255 )
 Vaalea syaani. Lisää...
 
static readonly Color LightGray = new Color( 211, 211, 211, 255 )
 Vaalea harmaa. Lisää...
 
static readonly Color LightGreen = new Color( 144, 238, 144, 255 )
 Vaalea vihreä. Lisää...
 
static readonly Color LightPink = new Color( 255, 182, 193, 255 )
 Vaalea vaaleanpunainen. Lisää...
 
static readonly Color LightYellow = new Color( 255, 255, 224, 255 )
 Vaalea keltainen. Lisää...
 
static readonly Color Lime = new Color( 0, 255, 0, 255 )
 Limetti. Lisää...
 
static readonly Color LimeGreen = new Color( 50, 205, 50, 255 )
 Limetinvihreä. Lisää...
 
static readonly Color Magenta = new Color( 255, 0, 255, 255 )
 Magenta (pinkki) Lisää...
 
static readonly Color Maroon = new Color( 128, 0, 0, 255 )
 Viininpunainen. Lisää...
 
static readonly Color MediumBlue = new Color( 0, 0, 205, 255 )
 Tummahko sininen. Lisää...
 
static readonly Color MediumPurple = new Color( 147, 112, 219, 255 )
 Tummahko purppura. Lisää...
 
static readonly Color MediumTurquoise = new Color( 72, 209, 204, 255 )
 Tummahko turkoosi. Lisää...
 
static readonly Color MediumVioletRed = new Color( 199, 21, 133, 255 )
 Tummahko punavioletti. Lisää...
 
static readonly Color MidnightBlue = new Color( 33, 0, 127, 255 )
 Keskiyön sininen. Lisää...
 
static readonly Color Mint = new Color( 62, 180, 137, 255 )
 Mintunvihreä. Lisää...
 
static readonly Color Navy = new Color( 0, 0, 128, 255 )
 Laivastonsininen. Lisää...
 
static readonly Color Olive = new Color( 127, 106, 0, 255 )
 Oliivi (tumma keltainen). Lisää...
 
static readonly Color Orange = new Color( 255, 106, 0, 255 )
 Oranssi. Lisää...
 
static readonly Color OrangeRed = new Color( 255, 69, 0, 255 )
 Punaoranssi. Lisää...
 
static readonly Color PaintDotNetBlue = new Color( 0, 38, 255, 255 )
 Paint.NETin sininen väri. Lisää...
 
static readonly Color PaintDotNetMagenta = new Color( 255, 0, 220, 255 )
 Paint.NETin magenta (pinkki) väri. Lisää...
 
static readonly Color Pink = new Color( 255, 192, 203, 255 )
 Vaaleanpunainen. Lisää...
 
static readonly Color Purple = new Color( 127, 0, 110, 255 )
 Purppura. Lisää...
 
static readonly Color Red = new Color( 255, 0, 0, 255 )
 Punainen. Lisää...
 
static readonly Color Rose = new Color( 255, 0, 110, 255 )
 Rose (punainen). Lisää...
 
static readonly Color RosePink = new Color( 251, 204, 231, 255 )
 Rose-pinkki. Lisää...
 
static readonly Color Ruby = new Color( 224, 17, 95, 255 )
 Rubiininpunainen. Lisää...
 
static readonly Color Salmon = new Color( 250, 128, 114, 255 )
 Lohenpunainen. Lisää...
 
static readonly Color SeaGreen = new Color( 46, 139, 87, 255 )
 Merensininen. Lisää...
 
static readonly Color Silver = new Color( 192, 192, 192, 255 )
 Hopea. Lisää...
 
static readonly Color SkyBlue = new Color( 135, 206, 235, 255 )
 Taivaansininen. Lisää...
 
static readonly Color SlateBlue = new Color( 106, 90, 205, 255 )
 Saviliuskeensininen. Lisää...
 
static readonly Color SlateGray = new Color( 112, 128, 144, 255 )
 Saviliuskeenharmaa. Lisää...
 
static readonly Color Snow = new Color( 255, 250, 250, 255 )
 Lumenvalkoinen. Lisää...
 
static readonly Color SpringGreen = new Color( 0, 255, 144, 255 )
 Kevään vihreä. Lisää...
 
static readonly Color Teal = new Color( 0, 128, 128, 255 )
 Sinivihreä. Lisää...
 
static readonly Color Transparent = new Color( XnaColor.Transparent )
 Läpinäkyvä väri. Lisää...
 
static readonly Color Turquoise = new Color( 64, 224, 208, 255 )
 Turkoosi. Lisää...
 
static readonly Color Ultramarine = new Color( 18, 10, 143, 255 )
 Ultramariini (tumma sininen). Lisää...
 
static readonly Color Violet = new Color( 178, 0, 255, 255 )
 Violetti. Lisää...
 
static readonly Color Wheat = new Color( 245, 222, 179, 255 )
 Luonnonvalkoinen. Lisää...
 
static readonly Color White = new Color( 255, 255, 255, 255 )
 Valkoinen. Lisää...
 
static readonly Color Yellow = new Color( 255, 255, 0, 255 )
 Keltainen. Lisää...
 
static readonly Color YellowGreen = new Color( 182, 255, 0, 255 )
 Keltavihreä. Lisää...
 

Yksityiskohtainen selite

Väri.

Määrittely tiedoston Color.cs rivillä 13.

Rakentajien & purkajien dokumentaatio

◆ Color() [1/7]

Color ( byte  red,
byte  green,
byte  blue 
)

Määrittely tiedoston Color.cs rivillä 53.

◆ Color() [2/7]

Color ( byte  red,
byte  green,
byte  blue,
byte  alpha 
)

Määrittely tiedoston Color.cs rivillä 58.

◆ Color() [3/7]

Color ( int  red,
int  green,
int  blue,
int  alpha 
)

Määrittely tiedoston Color.cs rivillä 66.

◆ Color() [4/7]

Color ( int  red,
int  green,
int  blue 
)

Määrittely tiedoston Color.cs rivillä 71.

◆ Color() [5/7]

Color ( Color  rgb,
byte  alpha 
)

Määrittely tiedoston Color.cs rivillä 76.

◆ Color() [6/7]

Color ( double  red,
double  green,
double  blue 
)

Määrittely tiedoston Color.cs rivillä 81.

◆ Color() [7/7]

Color ( double  red,
double  green,
double  blue,
double  alpha 
)

Määrittely tiedoston Color.cs rivillä 86.

Jäsenfunktioiden dokumentaatio

◆ Darker()

static Color Darker ( Color  c,
int  howMuch 
)
static

Antaa tummemman värin. Vähentaa jokaista kolmea osaväriä arvon howMuch verran.

Parametrit
cAlkuperäinen väri.
howMuchKuinka paljon tummempi (positiivinen luku).
Palauttaa
Tummempi väri.

Määrittely tiedoston Color.cs rivillä 407.

◆ Distance()

static double Distance ( Color  a,
Color  b 
)
static

Laskee kahden värin (euklidisen) etäisyyden RGB-väriavaruudessa. Värikomponentit ovat välillä 0-255 joten suurin mahdollinen etäisyys (musta ja valkoinen) on noin 441,68.

Palauttaa
Etäisyys

Määrittely tiedoston Color.cs rivillä 273.

◆ Equals()

override bool Equals ( Object  c2)

Määrittely tiedoston Color.cs rivillä 378.

◆ FromHexCode()

static Color FromHexCode ( string  hexString)
static

Palauttaa heksakoodia vastaavan värin.

Parametrit
hexStringHeksakoodi
Palauttaa

Määrittely tiedoston Color.cs rivillä 131.

◆ FromPaintDotNet()

static Color FromPaintDotNet ( int  row,
int  col 
)
static

Antaa värin Paint.net -ohjelman paletista.

Parametrit
rowRivi (0-1)
colSarake (0-15)
Palauttaa
Väri

Määrittely tiedoston Color.cs rivillä 166.

◆ GetAlpha() [1/2]

static byte GetAlpha ( uint  c)
static

Ottaa kokonaisluvusta alpha-arvon

Parametrit
cluku josta otetaan
Palauttaa
Alpha-arvo

Määrittely tiedoston Color.cs rivillä 194.

◆ GetAlpha() [2/2]

static byte GetAlpha ( int  c)
static

Ottaa kokonaisluvusta alpha-arvon

Parametrit
cluku josta otetaan
Palauttaa
Alpha-arvo

Määrittely tiedoston Color.cs rivillä 205.

◆ GetBlue()

static byte GetBlue ( uint  c)
static

Ottaa kokonaisluvusta sinisen värin

Parametrit
cluku josta otetaan
Palauttaa
sinisen osuus

Määrittely tiedoston Color.cs rivillä 238.

◆ GetGreen()

static byte GetGreen ( uint  c)
static

Ottaa kokonaisluvusta vihreän värin

Parametrit
cluku josta otetaan
Palauttaa
vihreän osuus

Määrittely tiedoston Color.cs rivillä 227.

◆ GetHashCode()

override int GetHashCode ( )

Määrittely tiedoston Color.cs rivillä 373.

◆ GetRed()

static byte GetRed ( uint  c)
static

Ottaa kokonaisluvusta punaisen värin

Parametrit
cluku josta otetaan
Palauttaa
punaisen osuus

Määrittely tiedoston Color.cs rivillä 216.

◆ IntToColor()

static Color IntToColor ( int  c)
static

Tekee kokonaisluvusta värin

Parametrit
cARGB-arvon sisältävä kokonaisluku
Palauttaa

Määrittely tiedoston Color.cs rivillä 249.

◆ Lerp()

static Color Lerp ( Color  value1,
Color  value2,
double  amount 
)
static

Määrittely tiedoston Color.cs rivillä 392.

◆ Lighter()

static Color Lighter ( Color  c,
int  howMuch 
)
static

Antaa kirkkaamman värin. Kasvattaa jokaista kolmea osaväriä arvon howMuch verran.

Parametrit
cAlkuperäinen väri.
howMuchKuinka paljon vaaleampi.
Palauttaa
Vaaleampi väri.

Määrittely tiedoston Color.cs rivillä 426.

◆ Mix()

static Color Mix ( params Color []  colors)
static

Sekoittaa kahta tai useampaa väriä.

Parametrit
colorsVärit parametreina.
Palauttaa
Sekoitettu väri

Määrittely tiedoston Color.cs rivillä 443.

◆ operator!=() [1/3]

static bool operator!= ( Color  c1,
uint  i2 
)
static

Määrittely tiedoston Color.cs rivillä 358.

◆ operator!=() [2/3]

static bool operator!= ( Color  c1,
int  i2 
)
static

Määrittely tiedoston Color.cs rivillä 368.

◆ operator!=() [3/3]

static bool operator!= ( Color  c1,
Color  c2 
)
static

Määrittely tiedoston Color.cs rivillä 387.

◆ operator==() [1/3]

static bool operator== ( Color  c1,
Color  c2 
)
static

Määrittely tiedoston Color.cs rivillä 344.

◆ operator==() [2/3]

static bool operator== ( Color  c1,
uint  i2 
)
static

Määrittely tiedoston Color.cs rivillä 353.

◆ operator==() [3/3]

static bool operator== ( Color  c1,
int  i2 
)
static

Määrittely tiedoston Color.cs rivillä 363.

◆ PackRGB() [1/2]

static uint PackRGB ( byte  r,
byte  g,
byte  b,
byte  a = 255 
)
static

Pakkaa kolme kokonaislukua väriä vastaavaksi kokonaisluvuksi

Parametrit
rvärin punainen osuus (0-255)
gvärin vihreä osuus (0-255)
bvärin sininen osuus (0-255)
aalpha-arvo (0-255)
Palauttaa

Määrittely tiedoston Color.cs rivillä 107.

◆ PackRGB() [2/2]

static uint PackRGB ( int  r,
int  g,
int  b,
int  a = 255 
)
static

Pakkaa kolme kokonaislukua väriä vastaavaksi kokonaisluvuksi

Parametrit
rvärin punainen osuus (0-255)
gvärin vihreä osuus (0-255)
bvärin sininen osuus (0-255)
aalpha-arvo (0-255)
Palauttaa

Määrittely tiedoston Color.cs rivillä 121.

◆ ToInt()

int ToInt ( )

Muuttaa värin ARGB-kokonaisluvuksi

Palauttaa

Määrittely tiedoston Color.cs rivillä 299.

◆ ToIntRGB()

int ToIntRGB ( )

Muuttaa värin RGB-kokonaisluvuksi

Palauttaa

Määrittely tiedoston Color.cs rivillä 308.

◆ ToString() [1/2]

override string ToString ( )

Palautetaan väri heksamerkkijonona

Palauttaa

Määrittely tiedoston Color.cs rivillä 326.

◆ ToString() [2/2]

string ToString ( bool  alpha)

Palautetaan väri heksamerkkijonona.

Parametrit
alphaOtetaanko läpinäkyvyys mukaan (8 merkin heksakoodi)
Palauttaa

Määrittely tiedoston Color.cs rivillä 336.

◆ ToUInt()

uint ToUInt ( )

Muuttaa värin ARGB-kokonaisluvuksi

Palauttaa

Määrittely tiedoston Color.cs rivillä 317.

◆ UIntToColor()

static Color UIntToColor ( uint  c)
static

Tekee kokonaisluvusta värin

Parametrit
cARGB-arvon sisältävä kokonaisluku
Palauttaa

Määrittely tiedoston Color.cs rivillä 261.

Jäsendatan dokumentaatio

◆ AlphaComponent

byte AlphaComponent

Läpinäkymättömyys välillä 0-255

Määrittely tiedoston Color.cs rivillä 37.

◆ Aqua

readonly Color Aqua = new Color( 0, 255, 255, 255 )
static

Vedensininen.

Määrittely tiedoston Color.cs rivillä 474.

◆ Aquamarine

readonly Color Aquamarine = new Color( 127, 255, 212, 255 )
static

Akvamariini.

Määrittely tiedoston Color.cs rivillä 479.

◆ AshGray

readonly Color AshGray = new Color( 178, 190, 181, 255 )
static

Tuhkanharmaa.

Määrittely tiedoston Color.cs rivillä 469.

◆ Azure

readonly Color Azure = new Color( 0, 148, 255, 255 )
static

Asuurinsininen.

Määrittely tiedoston Color.cs rivillä 484.

◆ Beige

readonly Color Beige = new Color( 245, 245, 220, 255 )
static

Beessi.

Määrittely tiedoston Color.cs rivillä 489.

◆ Black

readonly Color Black = new Color( 0, 0, 0, 255 )
static

Musta.

Määrittely tiedoston Color.cs rivillä 494.

◆ BloodRed

readonly Color BloodRed = new Color( 127, 0, 55, 255 )
static

Verenpunainen.

Määrittely tiedoston Color.cs rivillä 499.

◆ Blue

readonly Color Blue = new Color( 0, 0, 255, 255 )
static

Sininen.

Määrittely tiedoston Color.cs rivillä 504.

◆ BlueComponent

byte BlueComponent

Sininen värikomponentti välillä 0-255

Määrittely tiedoston Color.cs rivillä 31.

◆ BlueGray

readonly Color BlueGray = new Color( 102, 153, 204, 255 )
static

Siniharmaa.

Määrittely tiedoston Color.cs rivillä 509.

◆ BrightGreen

readonly Color BrightGreen = new Color( 0, 255, 33, 255 )
static

Kirkkaan vihreä.

Määrittely tiedoston Color.cs rivillä 514.

◆ Brown

readonly Color Brown = new Color( 127, 51, 0, 255 )
static

Ruskea.

Määrittely tiedoston Color.cs rivillä 519.

◆ BrownGreen

readonly Color BrownGreen = new Color( 91, 127, 0, 255 )
static

Ruskeanvihreä.

Määrittely tiedoston Color.cs rivillä 524.

◆ Charcoal

readonly Color Charcoal = new Color( 54, 69, 79, 255 )
static

Hiilenmusta.

Määrittely tiedoston Color.cs rivillä 539.

◆ Crimson

readonly Color Crimson = new Color( 220, 20, 60, 255 )
static

Karmiininpunainen.

Määrittely tiedoston Color.cs rivillä 529.

◆ Cyan

readonly Color Cyan = new Color( 0, 255, 255, 255 )
static

Syaani.

Määrittely tiedoston Color.cs rivillä 534.

◆ DarkAzure

readonly Color DarkAzure = new Color( 0, 74, 127, 255 )
static

Tumma asuuri.

Määrittely tiedoston Color.cs rivillä 544.

◆ DarkBlue

readonly Color DarkBlue = new Color( 0, 19, 127, 255 )
static

Tumma sininen.

Määrittely tiedoston Color.cs rivillä 554.

◆ DarkBrown

readonly Color DarkBrown = new Color( 92, 64, 51, 255 )
static

Tumma ruskea.

Määrittely tiedoston Color.cs rivillä 549.

◆ DarkCyan

readonly Color DarkCyan = new Color( 0, 127, 127, 255 )
static

Tumma syaani.

Määrittely tiedoston Color.cs rivillä 559.

◆ DarkForestGreen

readonly Color DarkForestGreen = new Color( 0, 127, 14 )
static

Tumma metsänvihreä.

Määrittely tiedoston Color.cs rivillä 564.

◆ DarkGray

readonly Color DarkGray = new Color( 64, 64, 64, 255 )
static

Tumma harmaa.

Määrittely tiedoston Color.cs rivillä 569.

◆ DarkGreen

readonly Color DarkGreen = new Color( 0, 100, 0, 255 )
static

Tumma vihreä.

Määrittely tiedoston Color.cs rivillä 574.

◆ DarkJungleGreen

readonly Color DarkJungleGreen = new Color( 0, 127, 70, 255 )
static

Tumma viidakonvihreä.

Määrittely tiedoston Color.cs rivillä 579.

◆ DarkMagenta

readonly Color DarkMagenta = Color.Purple
static

Tumma magenta (purppura).

Määrittely tiedoston Color.cs rivillä 584.

◆ DarkOrange

readonly Color DarkOrange = Color.Brown
static

Tumma oranssi / ruskea.

Määrittely tiedoston Color.cs rivillä 589.

◆ DarkRed

readonly Color DarkRed = new Color( 127, 0, 0, 255 )
static

Tumma punainen.

Määrittely tiedoston Color.cs rivillä 594.

◆ DarkTurquoise

readonly Color DarkTurquoise = new Color( 0, 206, 209, 255 )
static

Tumma turkoosi.

Määrittely tiedoston Color.cs rivillä 599.

◆ DarkViolet

readonly Color DarkViolet = new Color( 87, 0, 127, 255 )
static

Tumma violetti.

Määrittely tiedoston Color.cs rivillä 604.

◆ DarkYellow

readonly Color DarkYellow = Color.Olive
static

Tumma keltainen (oliivi).

Määrittely tiedoston Color.cs rivillä 609.

◆ DarkYellowGreen

readonly Color DarkYellowGreen = Color.BrownGreen
static

Tumma keltavihreä (ruskeanvihreä).

Määrittely tiedoston Color.cs rivillä 614.

◆ Emerald

readonly Color Emerald = new Color( 80, 200, 120, 255 )
static

Smaragdinvihreä.

Määrittely tiedoston Color.cs rivillä 619.

◆ ForestGreen

readonly Color ForestGreen = new Color( 38, 127, 0 )
static

Metsänvihreä.

Määrittely tiedoston Color.cs rivillä 624.

◆ Fuchsia

readonly Color Fuchsia = new Color( 255, 0, 255, 255 )
static

Fuksia (pinkki)

Määrittely tiedoston Color.cs rivillä 629.

◆ Gold

readonly Color Gold = new Color( 255, 216, 0, 255 )
static

Kulta.

Määrittely tiedoston Color.cs rivillä 634.

◆ Gray

readonly Color Gray = new Color( 128, 128, 128, 255 )
static

Harmaa.

Määrittely tiedoston Color.cs rivillä 639.

◆ Green

readonly Color Green = new Color( 0, 128, 0, 255 )
static

Vihreä.

Määrittely tiedoston Color.cs rivillä 644.

◆ GreenComponent

byte GreenComponent

Vihreä värikomponentti välillä 0-255

Määrittely tiedoston Color.cs rivillä 25.

◆ GreenYellow

readonly Color GreenYellow = new Color( 173, 255, 47, 255 )
static

Keltavihreä.

Määrittely tiedoston Color.cs rivillä 649.

◆ HanPurple

readonly Color HanPurple = new Color( 72, 0, 255, 255 )
static

Sinipurppurainen väri Han-dynastian ajoilta.

Määrittely tiedoston Color.cs rivillä 654.

◆ Harlequin

readonly Color Harlequin = new Color( 76, 255, 0, 255 )
static

Harlekiini (hieman keltaisella sävytetty kirkas vihreä).

Määrittely tiedoston Color.cs rivillä 659.

◆ HotPink

readonly Color HotPink = new Color( 255, 105, 180, 255 )
static

Pinkki.

Määrittely tiedoston Color.cs rivillä 664.

◆ Ivory

readonly Color Ivory = new Color( 255, 255, 240, 255 )
static

Norsunluu.

Määrittely tiedoston Color.cs rivillä 669.

◆ JungleGreen

readonly Color JungleGreen = new Color( 41, 171, 135, 255 )
static

Viidakonvihreä.

Määrittely tiedoston Color.cs rivillä 674.

◆ Lavender

readonly Color Lavender = new Color( 220, 208, 255, 255 )
static

Laventeli.

Määrittely tiedoston Color.cs rivillä 679.

◆ LightBlue

readonly Color LightBlue = new Color( 173, 216, 230, 255 )
static

Vaalea sininen.

Määrittely tiedoston Color.cs rivillä 684.

◆ LightCyan

readonly Color LightCyan = new Color( 224, 255, 255, 255 )
static

Vaalea syaani.

Määrittely tiedoston Color.cs rivillä 689.

◆ LightGray

readonly Color LightGray = new Color( 211, 211, 211, 255 )
static

Vaalea harmaa.

Määrittely tiedoston Color.cs rivillä 694.

◆ LightGreen

readonly Color LightGreen = new Color( 144, 238, 144, 255 )
static

Vaalea vihreä.

Määrittely tiedoston Color.cs rivillä 699.

◆ LightPink

readonly Color LightPink = new Color( 255, 182, 193, 255 )
static

Vaalea vaaleanpunainen.

Määrittely tiedoston Color.cs rivillä 704.

◆ LightYellow

readonly Color LightYellow = new Color( 255, 255, 224, 255 )
static

Vaalea keltainen.

Määrittely tiedoston Color.cs rivillä 709.

◆ Lime

readonly Color Lime = new Color( 0, 255, 0, 255 )
static

Limetti.

Määrittely tiedoston Color.cs rivillä 714.

◆ LimeGreen

readonly Color LimeGreen = new Color( 50, 205, 50, 255 )
static

Limetinvihreä.

Määrittely tiedoston Color.cs rivillä 719.

◆ Magenta

readonly Color Magenta = new Color( 255, 0, 255, 255 )
static

Magenta (pinkki)

Määrittely tiedoston Color.cs rivillä 724.

◆ Maroon

readonly Color Maroon = new Color( 128, 0, 0, 255 )
static

Viininpunainen.

Määrittely tiedoston Color.cs rivillä 729.

◆ MediumBlue

readonly Color MediumBlue = new Color( 0, 0, 205, 255 )
static

Tummahko sininen.

Määrittely tiedoston Color.cs rivillä 734.

◆ MediumPurple

readonly Color MediumPurple = new Color( 147, 112, 219, 255 )
static

Tummahko purppura.

Määrittely tiedoston Color.cs rivillä 739.

◆ MediumTurquoise

readonly Color MediumTurquoise = new Color( 72, 209, 204, 255 )
static

Tummahko turkoosi.

Määrittely tiedoston Color.cs rivillä 744.

◆ MediumVioletRed

readonly Color MediumVioletRed = new Color( 199, 21, 133, 255 )
static

Tummahko punavioletti.

Määrittely tiedoston Color.cs rivillä 749.

◆ MidnightBlue

readonly Color MidnightBlue = new Color( 33, 0, 127, 255 )
static

Keskiyön sininen.

Määrittely tiedoston Color.cs rivillä 754.

◆ Mint

readonly Color Mint = new Color( 62, 180, 137, 255 )
static

Mintunvihreä.

Määrittely tiedoston Color.cs rivillä 759.

◆ Navy

readonly Color Navy = new Color( 0, 0, 128, 255 )
static

Laivastonsininen.

Määrittely tiedoston Color.cs rivillä 764.

◆ Olive

readonly Color Olive = new Color( 127, 106, 0, 255 )
static

Oliivi (tumma keltainen).

Määrittely tiedoston Color.cs rivillä 769.

◆ Orange

readonly Color Orange = new Color( 255, 106, 0, 255 )
static

Oranssi.

Määrittely tiedoston Color.cs rivillä 774.

◆ OrangeRed

readonly Color OrangeRed = new Color( 255, 69, 0, 255 )
static

Punaoranssi.

Määrittely tiedoston Color.cs rivillä 779.

◆ PaintDotNetBlue

readonly Color PaintDotNetBlue = new Color( 0, 38, 255, 255 )
static

Paint.NETin sininen väri.

Määrittely tiedoston Color.cs rivillä 784.

◆ PaintDotNetMagenta

readonly Color PaintDotNetMagenta = new Color( 255, 0, 220, 255 )
static

Paint.NETin magenta (pinkki) väri.

Määrittely tiedoston Color.cs rivillä 789.

◆ Pink

readonly Color Pink = new Color( 255, 192, 203, 255 )
static

Vaaleanpunainen.

Määrittely tiedoston Color.cs rivillä 794.

◆ Purple

readonly Color Purple = new Color( 127, 0, 110, 255 )
static

Purppura.

Määrittely tiedoston Color.cs rivillä 799.

◆ Red

readonly Color Red = new Color( 255, 0, 0, 255 )
static

Punainen.

Määrittely tiedoston Color.cs rivillä 804.

◆ RedComponent

byte RedComponent

Punainen värikomponentti välillä 0-255

Määrittely tiedoston Color.cs rivillä 19.

◆ Rose

readonly Color Rose = new Color( 255, 0, 110, 255 )
static

Rose (punainen).

Määrittely tiedoston Color.cs rivillä 809.

◆ RosePink

readonly Color RosePink = new Color( 251, 204, 231, 255 )
static

Rose-pinkki.

Määrittely tiedoston Color.cs rivillä 814.

◆ Ruby

readonly Color Ruby = new Color( 224, 17, 95, 255 )
static

Rubiininpunainen.

Määrittely tiedoston Color.cs rivillä 819.

◆ Salmon

readonly Color Salmon = new Color( 250, 128, 114, 255 )
static

Lohenpunainen.

Määrittely tiedoston Color.cs rivillä 824.

◆ SeaGreen

readonly Color SeaGreen = new Color( 46, 139, 87, 255 )
static

Merensininen.

Määrittely tiedoston Color.cs rivillä 829.

◆ Silver

readonly Color Silver = new Color( 192, 192, 192, 255 )
static

Hopea.

Määrittely tiedoston Color.cs rivillä 834.

◆ SkyBlue

readonly Color SkyBlue = new Color( 135, 206, 235, 255 )
static

Taivaansininen.

Määrittely tiedoston Color.cs rivillä 839.

◆ SlateBlue

readonly Color SlateBlue = new Color( 106, 90, 205, 255 )
static

Saviliuskeensininen.

Määrittely tiedoston Color.cs rivillä 844.

◆ SlateGray

readonly Color SlateGray = new Color( 112, 128, 144, 255 )
static

Saviliuskeenharmaa.

Määrittely tiedoston Color.cs rivillä 849.

◆ Snow

readonly Color Snow = new Color( 255, 250, 250, 255 )
static

Lumenvalkoinen.

Määrittely tiedoston Color.cs rivillä 854.

◆ SpringGreen

readonly Color SpringGreen = new Color( 0, 255, 144, 255 )
static

Kevään vihreä.

Määrittely tiedoston Color.cs rivillä 859.

◆ Teal

readonly Color Teal = new Color( 0, 128, 128, 255 )
static

Sinivihreä.

Määrittely tiedoston Color.cs rivillä 864.

◆ Transparent

readonly Color Transparent = new Color( XnaColor.Transparent )
static

Läpinäkyvä väri.

Määrittely tiedoston Color.cs rivillä 869.

◆ Turquoise

readonly Color Turquoise = new Color( 64, 224, 208, 255 )
static

Turkoosi.

Määrittely tiedoston Color.cs rivillä 874.

◆ Ultramarine

readonly Color Ultramarine = new Color( 18, 10, 143, 255 )
static

Ultramariini (tumma sininen).

Määrittely tiedoston Color.cs rivillä 879.

◆ Violet

readonly Color Violet = new Color( 178, 0, 255, 255 )
static

Violetti.

Määrittely tiedoston Color.cs rivillä 884.

◆ Wheat

readonly Color Wheat = new Color( 245, 222, 179, 255 )
static

Luonnonvalkoinen.

Määrittely tiedoston Color.cs rivillä 889.

◆ White

readonly Color White = new Color( 255, 255, 255, 255 )
static

Valkoinen.

Määrittely tiedoston Color.cs rivillä 894.

◆ Yellow

readonly Color Yellow = new Color( 255, 255, 0, 255 )
static

Keltainen.

Määrittely tiedoston Color.cs rivillä 899.

◆ YellowGreen

readonly Color YellowGreen = new Color( 182, 255, 0, 255 )
static

Keltavihreä.

Määrittely tiedoston Color.cs rivillä 904.


Dokumentaatio tälle tietueelle luotiin seuraavasta tiedostosta: