System.UITypes.TAlphaColorRec

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

TAlphaColorRec = record

C++

struct DECLSPEC_DRECORD TAlphaColorRec
{
public:
    static const TAlphaColor Alpha = TAlphaColor(0xff000000);
    static const unsigned Aliceblue = unsigned(0xfff0f8ff);
    static const unsigned Antiquewhite = unsigned(0xfffaebd7);
    static const unsigned Aqua = unsigned(0xff00ffff);
    static const unsigned Aquamarine = unsigned(0xff7fffd4);
    static const unsigned Azure = unsigned(0xfff0ffff);
    static const unsigned Beige = unsigned(0xfff5f5dc);
    static const unsigned Bisque = unsigned(0xffffe4c4);
    static const unsigned Black = unsigned(0xff000000);
    static const unsigned Blanchedalmond = unsigned(0xffffebcd);
    static const unsigned Blue = unsigned(0xff0000ff);
    static const unsigned Blueviolet = unsigned(0xff8a2be2);
    static const unsigned Brown = unsigned(0xffa52a2a);
    static const unsigned Burlywood = unsigned(0xffdeb887);
    static const unsigned Cadetblue = unsigned(0xff5f9ea0);
    static const unsigned Chartreuse = unsigned(0xff7fff00);
    static const unsigned Chocolate = unsigned(0xffd2691e);
    static const unsigned Coral = unsigned(0xffff7f50);
    static const unsigned Cornflowerblue = unsigned(0xff6495ed);
    static const unsigned Cornsilk = unsigned(0xfffff8dc);
    static const unsigned Crimson = unsigned(0xffdc143c);
    static const unsigned Cyan = unsigned(0xff00ffff);
    static const unsigned Darkblue = unsigned(0xff00008b);
    static const unsigned Darkcyan = unsigned(0xff008b8b);
    static const unsigned Darkgoldenrod = unsigned(0xffb8860b);
    static const unsigned Darkgray = unsigned(0xffa9a9a9);
    static const unsigned Darkgreen = unsigned(0xff006400);
    static const unsigned Darkgrey = unsigned(0xffa9a9a9);
    static const unsigned Darkkhaki = unsigned(0xffbdb76b);
    static const unsigned Darkmagenta = unsigned(0xff8b008b);
    static const unsigned Darkolivegreen = unsigned(0xff556b2f);
    static const unsigned Darkorange = unsigned(0xffff8c00);
    static const unsigned Darkorchid = unsigned(0xff9932cc);
    static const unsigned Darkred = unsigned(0xff8b0000);
    static const unsigned Darksalmon = unsigned(0xffe9967a);
    static const unsigned Darkseagreen = unsigned(0xff8fbc8f);
    static const unsigned Darkslateblue = unsigned(0xff483d8b);
    static const unsigned Darkslategray = unsigned(0xff2f4f4f);
    static const unsigned Darkslategrey = unsigned(0xff2f4f4f);
    static const unsigned Darkturquoise = unsigned(0xff00ced1);
    static const unsigned Darkviolet = unsigned(0xff9400d3);
    static const unsigned Deeppink = unsigned(0xffff1493);
    static const unsigned Deepskyblue = unsigned(0xff00bfff);
    static const unsigned Dimgray = unsigned(0xff696969);
    static const unsigned Dimgrey = unsigned(0xff696969);
    static const unsigned Dodgerblue = unsigned(0xff1e90ff);
    static const unsigned Firebrick = unsigned(0xffb22222);
    static const unsigned Floralwhite = unsigned(0xfffffaf0);
    static const unsigned Forestgreen = unsigned(0xff228b22);
    static const unsigned Fuchsia = unsigned(0xffff00ff);
    static const unsigned Gainsboro = unsigned(0xffdcdcdc);
    static const unsigned Ghostwhite = unsigned(0xfff8f8ff);
    static const unsigned Gold = unsigned(0xffffd700);
    static const unsigned Goldenrod = unsigned(0xffdaa520);
    static const unsigned Gray = unsigned(0xff808080);
    static const unsigned Green = unsigned(0xff008000);
    static const unsigned Greenyellow = unsigned(0xffadff2f);
    static const unsigned Grey = unsigned(0xff808080);
    static const unsigned Honeydew = unsigned(0xfff0fff0);
    static const unsigned Hotpink = unsigned(0xffff69b4);
    static const unsigned Indianred = unsigned(0xffcd5c5c);
    static const unsigned Indigo = unsigned(0xff4b0082);
    static const unsigned Ivory = unsigned(0xfffffff0);
    static const unsigned Khaki = unsigned(0xfff0e68c);
    static const unsigned Lavender = unsigned(0xffe6e6fa);
    static const unsigned Lavenderblush = unsigned(0xfffff0f5);
    static const unsigned Lawngreen = unsigned(0xff7cfc00);
    static const unsigned Lemonchiffon = unsigned(0xfffffacd);
    static const unsigned Lightblue = unsigned(0xffadd8e6);
    static const unsigned Lightcoral = unsigned(0xfff08080);
    static const unsigned Lightcyan = unsigned(0xffe0ffff);
    static const unsigned Lightgoldenrodyellow = unsigned(0xfffafad2);
    static const unsigned Lightgray = unsigned(0xffd3d3d3);
    static const unsigned Lightgreen = unsigned(0xff90ee90);
    static const unsigned Lightgrey = unsigned(0xffd3d3d3);
    static const unsigned Lightpink = unsigned(0xffffb6c1);
    static const unsigned Lightsalmon = unsigned(0xffffa07a);
    static const unsigned Lightseagreen = unsigned(0xff20b2aa);
    static const unsigned Lightskyblue = unsigned(0xff87cefa);
    static const unsigned Lightslategray = unsigned(0xff778899);
    static const unsigned Lightslategrey = unsigned(0xff778899);
    static const unsigned Lightsteelblue = unsigned(0xffb0c4de);
    static const unsigned Lightyellow = unsigned(0xffffffe0);
    static const unsigned LtGray = unsigned(0xffc0c0c0);
    static const unsigned MedGray = unsigned(0xffa0a0a0);
    static const unsigned DkGray = unsigned(0xff808080);
    static const unsigned MoneyGreen = unsigned(0xffc0dcc0);
    static const unsigned LegacySkyBlue = unsigned(0xfff0caa6);
    static const unsigned Cream = unsigned(0xfff0fbff);
    static const unsigned Lime = unsigned(0xff00ff00);
    static const unsigned Limegreen = unsigned(0xff32cd32);
    static const unsigned Linen = unsigned(0xfffaf0e6);
    static const unsigned Magenta = unsigned(0xffff00ff);
    static const unsigned Maroon = unsigned(0xff800000);
    static const unsigned Mediumaquamarine = unsigned(0xff66cdaa);
    static const unsigned Mediumblue = unsigned(0xff0000cd);
    static const unsigned Mediumorchid = unsigned(0xffba55d3);
    static const unsigned Mediumpurple = unsigned(0xff9370db);
    static const unsigned Mediumseagreen = unsigned(0xff3cb371);
    static const unsigned Mediumslateblue = unsigned(0xff7b68ee);
    static const unsigned Mediumspringgreen = unsigned(0xff00fa9a);
    static const unsigned Mediumturquoise = unsigned(0xff48d1cc);
    static const unsigned Mediumvioletred = unsigned(0xffc71585);
    static const unsigned Midnightblue = unsigned(0xff191970);
    static const unsigned Mintcream = unsigned(0xfff5fffa);
    static const unsigned Mistyrose = unsigned(0xffffe4e1);
    static const unsigned Moccasin = unsigned(0xffffe4b5);
    static const unsigned Navajowhite = unsigned(0xffffdead);
    static const unsigned Navy = unsigned(0xff000080);
    static const unsigned Oldlace = unsigned(0xfffdf5e6);
    static const unsigned Olive = unsigned(0xff808000);
    static const unsigned Olivedrab = unsigned(0xff6b8e23);
    static const unsigned Orange = unsigned(0xffffa500);
    static const unsigned Orangered = unsigned(0xffff4500);
    static const unsigned Orchid = unsigned(0xffda70d6);
    static const unsigned Palegoldenrod = unsigned(0xffeee8aa);
    static const unsigned Palegreen = unsigned(0xff98fb98);
    static const unsigned Paleturquoise = unsigned(0xffafeeee);
    static const unsigned Palevioletred = unsigned(0xffdb7093);
    static const unsigned Papayawhip = unsigned(0xffffefd5);
    static const unsigned Peachpuff = unsigned(0xffffdab9);
    static const unsigned Peru = unsigned(0xffcd853f);
    static const unsigned Pink = unsigned(0xffffc0cb);
    static const unsigned Plum = unsigned(0xffdda0dd);
    static const unsigned Powderblue = unsigned(0xffb0e0e6);
    static const unsigned Purple = unsigned(0xff800080);
    static const unsigned Red = unsigned(0xffff0000);
    static const unsigned Rosybrown = unsigned(0xffbc8f8f);
    static const unsigned Royalblue = unsigned(0xff4169e1);
    static const unsigned Saddlebrown = unsigned(0xff8b4513);
    static const unsigned Salmon = unsigned(0xfffa8072);
    static const unsigned Sandybrown = unsigned(0xfff4a460);
    static const unsigned Seagreen = unsigned(0xff2e8b57);
    static const unsigned Seashell = unsigned(0xfffff5ee);
    static const unsigned Sienna = unsigned(0xffa0522d);
    static const unsigned Silver = unsigned(0xffc0c0c0);
    static const unsigned Skyblue = unsigned(0xff87ceeb);
    static const unsigned Slateblue = unsigned(0xff6a5acd);
    static const unsigned Slategray = unsigned(0xff708090);
    static const unsigned Slategrey = unsigned(0xff708090);
    static const unsigned Snow = unsigned(0xfffffafa);
    static const unsigned Springgreen = unsigned(0xff00ff7f);
    static const unsigned Steelblue = unsigned(0xff4682b4);
    static const unsigned Tan = unsigned(0xffd2b48c);
    static const unsigned Teal = unsigned(0xff008080);
    static const unsigned Thistle = unsigned(0xffd8bfd8);
    static const unsigned Tomato = unsigned(0xffff6347);
    static const unsigned Turquoise = unsigned(0xff40e0d0);
    static const unsigned Violet = unsigned(0xffee82ee);
    static const unsigned Wheat = unsigned(0xfff5deb3);
    static const unsigned White = unsigned(0xffffffff);
    static const unsigned Whitesmoke = unsigned(0xfff5f5f5);
    static const unsigned Yellow = unsigned(0xffffff00);
    static const unsigned Yellowgreen = unsigned(0xff9acd32);
    static const TAlphaColor Null = TAlphaColor(0x0);
    __fastcall TAlphaColorRec(const TAlphaColor Color);
    static int __fastcall (*ColorToRGB)(TAlphaColor Color);
    TAlphaColorRec() {}
public:
    union
    {
        struct
        {
            System::Byte B;
            System::Byte G;
            System::Byte R;
            System::Byte A;
        };
        struct
        {
            System::Word HiWord;
            System::Word LoWord;
        };
        struct
        {
            TAlphaColor Color;
        };
    };
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
System.UITypes.pas
System.UITypes.hpp
System.UITypes System.UITypes

Description

TAlphaColorRec fournit un accès à l'enregistrement des canaux de couleurs.

Utilisez les constantes de TAlphaColorRec -- listées dans le tableau Couleurs TAlphaColorRec -- afin d'obtenir un accès aux canaux de couleurs sous-jacents pour le type TAlphaColor.

L'unité System.UIConsts contient aussi les définitions des constantes des couleurs alpha similaires aux constantes de TAlphaColorRec. Ces constantes sont listées dans le tableau Couleurs alpha. Les noms des constantes de System.UIConsts sont composés du préfixe cla et des noms de couleurs définis par l'enregistrement TAlphaColorRec.

Les constantes de ces deux tableaux sont mappées directement sur la couleur correspondante la plus proche dans la palette système (par exemple, les constantes Blue et claBlue sont mappées sur la couleur bleu).

Couleurs TAlphaColorRec

Constantes Couleurs A R V B

Aliceblue

Bleu Alice

FF F0 F8 FF

Antiquewhite

Blanc antique

FF FA EB D7

Aqua

Aqua

FF 00 FF FF

Aquamarine

Aquamarine

FF 7F FF D4

Azure

Azure

FF F0 FF FF

Beige

Beige

FF F5 F5 DC

Bisque

Bisque

FF FF E4 C4

Black

Noir

FF 00 00 00

Blanchedalmond

Amande blanche

FF FF EB CD

Blue

Bleu

FF 00 00 FF

Blueviolet

Bleu violet

FF 8A 2B E2

Brown

Marron

FF A5 2A 2A

Burlywood

Bois brut

FF DE B8 87

Cadetblue

Bleu uniforme

FF 5F 9E A0

Chartreuse

Chartreuse

FF 7F FF 00

Chocolate

Chocolat

FF D2 69 1E

Coral

Corail

FF FF 7F 50

Cornflowerblue

Bleu fleur de maïs

FF 64 95 ED

Cornsilk

Jaune maïs doux

FF FF F8 DC

Crimson

Pourpre

FF DC 14 3C

Cyan

Cyan

FF 00 FF FF

Darkblue

Bleu foncé

FF 00 00 8B

Darkcyan

Cyan foncé

FF 00 8B 8B

Darkgoldenrod

Jaune paille foncé

FF B8 86 0B

Darkgray

Gris foncé

FF A9 A9 A9

Darkgreen

Vert foncé

FF 00 64 00

Darkgrey

Gris foncé

FF A9 A9 A9

Darkkhaki

Kaki foncé

FF BD B7 6B

Darkmagenta

Magenta foncé

FF 8B 00 8B

Darkolivegreen

Vert olive foncé

FF 55 6B 2F

Darkorange

Orange foncé

FF FF 8C 00

Darkorchid

Orchidée foncé

FF 99 32 CC

Darkred

Rouge foncé

FF 8B 00 00

Darksalmon

Saumon foncé

FF E9 96 7A

Darkseagreen

Vert océan foncé

FF 8F BC 8F

Darkslateblue

Bleu ardoise foncé

FF 48 3D 8B

Darkslategray

Gris ardoise foncé

FF 2F 4F 4F

Darkslategrey

Gris ardoise foncé

FF 2F 4F 4F

Darkturquoise

Turquoise foncé

FF 00 CE D1

Darkviolet

Parme foncé

FF 94 00 D3

Deeppink

Rose profond

FF FF 14 93

Deepskyblue

Bleu ciel profond

FF 00 BF FF

Dimgray

Gris pâle

FF 69 69 69

Dimgrey

Gris pâle

FF 69 69 69

Dodgerblue

Bleuté

FF 1E 90 FF

Firebrick

Rouge brique

FF B2 22 22

Floralwhite

Blanc floral

FF FF FA F0

Forestgreen

Vert forêt

FF 22 8B 22

Fuchsia

Fuchsia

FF FF 00 FF

Gainsboro

Gainsboro

FF DC DC DC

Ghostwhite

Blanc spectral

FF F8 F8 FF

Gold

Or

FF FF D7 00

Goldenrod

Verge d'or

FF DA A5 20

Gray

Gris

FF 80 80 80

Green

Vert

FF 00 80 00

Greenyellow

Jaune-vert

FF AD FF 2F

Grey

Gris

FF 80 80 80

Honeydew

Miellé

FF F0 FF F0

Hotpink

Rose chaud

FF FF 69 B4

Indianred

Rouge indien

FF CD 5C 5C

Indigo

Indigo

FF 4B 00 82

Ivory

Ivoire

FF FF FF F0

Khaki

Kaki

FF F0 E6 8C

Lavender

Lavande

FF E6 E6 FA

Lavenderblush

Lavande rougeâtre

FF FF F0 F5

Lawngreen

Vert prairie

FF 7C FC 00

Lemonchiffon

Jaune chiffonné

FF FF FA CD

Lightblue

Bleu clair

FF AD D8 E6

Lightcoral

Corail clair

FF F0 80 80

Lightcyan

Cyan clair

FF E0 FF FF

Lightgoldenrodyellow

Jaune paille clair

FF FA FA D2

Lightgray

Gris clair

FF D3 D3 D3

Lightgreen

Vert clair

FF 90 EE 90

Lightgrey

Gris clair

FF D3 D3 D3

Lightpink

Rose clair

FF FF B6 C1

Lightsalmon

Saumon clair

FF FF A0 7A

Lightseagreen

Vert océan clair

FF 20 B2 AA

Lightskyblue

Bleu ciel clair

FF 87 CE FA

Lightslategray

Gris ardoise clair

FF 77 88 99

Lightslategrey

Gris ardoise clair

FF 77 88 99

Lightsteelblue

Bleu acier clair

FF B0 C4 DE

Lightyellow

Jaune clair

FF FF FF E0

LtGray

Gris léger

FF C0 C0 C0

MedGray

Gris moyen

FF A0 A0 A0

DkGray

Gris sombre

FF 80 80 80

MoneyGreen

Vert argenté

FF C0 DC C0

LegacySkyBlue

Bleu ciel

FF F0 CA A6

Cream

Crème

FF F0 FB FF

Lime

Citron vert

FF 00 FF 00

Limegreen

Citron vert foncé

FF 32 CD 32

Linen

Lin

FF FA F0 E6

Magenta

Magenta

FF FF 00 FF

Maroon

Rouge foncé

FF 80 00 00

Mediumaquamarine

Aigue-marine moyen

FF 66 CD AA

Mediumblue

Bleu moyen

FF 00 00 CD

Mediumorchid

Orchidée moyen

FF BA 55 D3

Mediumpurple

Pourpre moyen

FF 93 70 DB

Mediumseagreen

Vert océan moyen

FF 3C B3 71

Mediumslateblue

Bleu ardoise moyen

FF 7B 68 EE

Mediumspringgreen

Vert printemps moyen

FF 00 FA 9A

Mediumturquoise

Turquoise moyen

FF 48 D1 CC

Mediumvioletred

Rouge violacé moyen

FF C7 15 85

Midnightblue

Bleu nuit

FF 19 19 70

Mintcream

Blanc mentholé

FF F5 FF FA

Mistyrose

Rose voilé

FF FF E4 E1

Moccasin

Beige mocassin

FF FF E4 B5

Navajowhite

Blanc navarro

FF FF DE AD

Navy

Bleu foncé

FF 00 00 80

Oldlace

Vieux blanc

FF FD F5 E6

Olive

Olive

FF 80 80 00

Olivedrab

Vert olive terne

FF 6B 8E 23

Orange

Orange

FF FF A5 00

Orangered

Rouge orangé

FF FF 45 00

Orchid

Orchidée

FF DA 70 D6

Palegoldenrod

Jaune paille pâle

FF EE E8 AA

Palegreen

Vert pâle

FF 98 FB 98

Paleturquoise

Turquoise pâle

FF AF EE EE

Palevioletred

Rouge violacé pâle

FF DB 70 93

Papayawhip

Papaye délavé

FF FF EF D5

Peachpuff

Pêche passé

FF FF DA B9

Peru

Pérou

FF CD 85 3F

Pink

Rose

FF FF C0 CB

Plum

Prune

FF DD A0 DD

Powderblue

Bleu poudré

FF B0 E0 E6

Purple

Violet

FF 80 00 80

Red

Rouge

FF FF 00 00

Rosybrown

Bois de rose

FF BC 8F 8F

Royalblue

Bleu roi

FF 41 69 E1

Saddlebrown

Cuir

FF 8B 45 13

Salmon

Saumon

FF FA 80 72

Sandybrown

Brun sable

FF F4 A4 60

Seagreen

Vert océan

FF 2E 8B 57

Seashell

Coquillage

FF FF F5 EE

Sienna

Sienne

FF A0 52 2D

Silver

Argent

FF C0 C0 C0

Skyblue

Bleu ciel

FF 87 CE EB

Slateblue

Bleu ardoise

FF 6A 5A CD

Slategray

Gris ardoise

FF 70 80 90

Slategrey

Gris ardoise

FF 70 80 90

Snow

Neige

FF FF FA FA

Springgreen

Vert printemps

FF 00 FF 7F

Steelblue

Bleu acier

FF 46 82 B4

Tan

Brun tanné

FF D2 B4 8C

Teal

Bleu-vert

FF 00 80 80

Thistle

Chardon

FF D8 BF D8

Tomato

Tomate

FF FF 63 47

Turquoise

Turquoise

FF 40 E0 D0

Violet

Violet

FF EE 82 EE

Wheat

Blé

FF F5 DE B3

White

Blanc

FF FF FF FF

Whitesmoke

Blanc fumée

FF F5 F5 F5

Yellow

Jaune

FF FF FF 00

Yellowgreen

Vert jaunâtre

FF 9A CD 32

Null

Null

00 00 00 00

Alpha

Alpha

FF 00 00 00


Voir aussi