Color
Przegląd
Color jest klasą w Aspose.Slides FOSS dla C++.
Reprezentuje kolor ARGB, równoważny System.Drawing.Color.
Ta klasa udostępnia 8 metod do pracy z obiektami Color w programach C++. Dostępne metody to: Color, a, b, from_argb, g, r, to_string. Wszystkie publiczne członki są dostępne dla każdej aplikacji C++ po zainstalowaniu pakietu Aspose.Slides FOSS dla C++. Właściwości: Color, alice_blue, antique_white, aqua, aquamarine, azure, oraz 136 kolejnych.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
Color | Color | Odczyt | Pobiera kolor. |
alice_blue | Color | Odczyt/zapis | Pobiera lub ustawia wartość alice blue. |
antique_white | Color | Odczyt/zapis | Pobiera lub ustawia wartość antique white. |
aqua | Color | Odczyt/zapis | Pobiera lub ustawia wartość aqua. |
aquamarine | Color | Odczyt/zapis | Pobiera lub ustawia kolor akwamarynowy. |
azure | Color | Odczyt/zapis | Pobiera lub ustawia wartość azure. |
beige | Color | Odczyt/zapis | Pobiera lub ustawia beżowy. |
bisque | Color | Odczyt/zapis | Pobiera lub ustawia bisque. |
black | Color | Odczyt/zapis | Pobiera lub ustawia czarny. |
blanched_almond | Color | Odczyt/zapis | Pobiera lub ustawia blanched almond. |
blue | Color | Odczyt/zapis | Pobiera lub ustawia niebieski. |
blue_violet | Color | Odczyt/zapis | Pobiera lub ustawia niebiesko-fioletowy. |
brown | Color | Odczyt/zapis | Pobiera lub ustawia brąz. |
burly_wood | Color | Odczyt/zapis | Pobiera lub ustawia burly wood. |
cadet_blue | Color | Odczyt/zapis | Pobiera lub ustawia odcień cadet blue. |
chartreuse | Color | Odczyt/zapis | Pobiera lub ustawia chartreuse. |
chocolate | Color | Odczyt/zapis | Pobiera lub ustawia chocolate. |
coral | Color | Odczyt/zapis | Pobiera lub ustawia wartość coral. |
cornflower_blue | Color | Odczyt/zapis | Pobiera lub ustawia wartość cornflower blue. |
cornsilk | Color | Odczyt/zapis | Pobiera lub ustawia wartość cornsilk. |
crimson | Color | Odczyt/zapis | Pobiera lub ustawia karmazynowy. |
cyan | Color | Odczyt/zapis | Pobiera lub ustawia cyan. |
dark_blue | Color | Odczyt/zapis | Pobiera lub ustawia ciemny niebieski. |
dark_cyan | Color | Odczyt/zapis | Pobiera lub ustawia ciemny cyjan. |
dark_goldenrod | Color | Odczyt/zapis | Pobiera lub ustawia ciemny złotawy. |
dark_gray | Color | Odczyt/zapis | Pobiera lub ustawia ciemny szary. |
dark_green | Color | Odczyt/zapis | Pobiera lub ustawia ciemną zieleń. |
dark_khaki | Color | Odczyt/zapis | Pobiera lub ustawia dark khaki. |
dark_magenta | Color | Odczyt/zapis | Pobiera lub ustawia ciemny magenta. |
dark_olive_green | Color | Odczyt/zapis | Pobiera lub ustawia ciemnooliwkowy zielony. |
dark_orange | Color | Odczyt/zapis | Pobiera lub ustawia ciemny pomarańczowy. |
dark_orchid | Color | Odczyt/zapis | Pobiera lub ustawia ciemny orchideę. |
dark_red | Color | Odczyt/zapis | Pobiera lub ustawia ciemnoczerwony. |
dark_salmon | Color | Odczyt/zapis | Pobiera lub ustawia ciemny łosoś. |
dark_sea_green | Color | Odczyt/zapis | Pobiera lub ustawia ciemny zielony morski. |
dark_slate_blue | Color | Odczyt/zapis | Pobiera lub ustawia ciemny łupek niebieski. |
dark_slate_gray | Color | Odczyt/zapis | Pobiera lub ustawia ciemny szary łupek. |
dark_turquoise | Color | Odczyt/zapis | Pobiera lub ustawia ciemny turkus. |
dark_violet | Color | Odczyt/zapis | Pobiera lub ustawia ciemny fiolet. |
deep_pink | Color | Odczyt/zapis | Pobiera lub ustawia głęboki róż. |
deep_sky_blue | Color | Odczyt/zapis | Pobiera lub ustawia deep sky blue. |
dim_gray | Color | Odczyt/zapis | Pobiera lub ustawia ciemny szary. |
dodger_blue | Color | Odczyt/zapis | Pobiera lub ustawia kolor dodger blue. |
firebrick | Color | Odczyt/zapis | Pobiera lub ustawia firebrick. |
floral_white | Color | Odczyt/zapis | Pobiera lub ustawia wartość floral white. |
forest_green | Color | Odczyt/zapis | Pobiera lub ustawia zielony leśny. |
fuchsia | Color | Odczyt/zapis | Pobiera lub ustawia fuksję. |
gainsboro | Color | Odczyt/zapis | Pobiera lub ustawia wartość Gainsboro. |
ghost_white | Color | Odczyt/zapis | Pobiera lub ustawia ghost white. |
gold | Color | Odczyt/zapis | Pobiera lub ustawia złoto. |
goldenrod | Color | Odczyt/zapis | Pobiera lub ustawia kolor goldenrod. |
gray | Color | Odczyt/zapis | Pobiera lub ustawia szarość. |
green | Color | Odczyt/zapis | Pobiera lub ustawia wartość zielonego. |
green_yellow | Color | Odczyt/zapis | Pobiera lub ustawia zielono-żółty. |
honeydew | Color | Odczyt/zapis | Pobiera lub ustawia wartość honeydew. |
hot_pink | Color | Odczyt/zapis | Pobiera lub ustawia kolor hot pink. |
indian_red | Color | Odczyt/zapis | Pobiera lub ustawia indian red. |
indigo | Color | Odczyt/zapis | Pobiera lub ustawia indigo. |
ivory | Color | Odczyt/zapis | Pobiera lub ustawia wartość ivory. |
khaki | Color | Odczyt/zapis | Pobiera lub ustawia khaki. |
lavender | Color | Odczyt/zapis | Pobiera lub ustawia kolor lawendowy. |
lavender_blush | Color | Odczyt/zapis | Pobiera lub ustawia lawendowy rumieniec. |
lawn_green | Color | Odczyt/zapis | Pobiera lub ustawia zielony trawnikowy. |
lemon_chiffon | Color | Odczyt/zapis | Pobiera lub ustawia lemon chiffon. |
light_blue | Color | Odczyt/zapis | Pobiera lub ustawia jasny niebieski. |
light_coral | Color | Odczyt/zapis | Pobiera lub ustawia light coral. |
light_cyan | Color | Odczyt/zapis | Pobiera lub ustawia jasny cyjan. |
light_goldenrod_yellow | Color | Odczyt/zapis | Pobiera lub ustawia jasny złocisty żółty. |
light_gray | Color | Odczyt/zapis | Pobiera lub ustawia jasnoszary. |
light_green | Color | Odczyt/zapis | Pobiera lub ustawia jasny zielony. |
light_pink | Color | Odczyt/zapis | Pobiera lub ustawia jasny róż. |
light_salmon | Color | Odczyt/zapis | Pobiera lub ustawia wartość light salmon. |
light_sea_green | Color | Odczyt/zapis | Pobiera lub ustawia jasny morski zielony. |
light_sky_blue | Color | Odczyt/zapis | Pobiera lub ustawia jasny niebieski nieboskłon. |
light_slate_gray | Color | Odczyt/zapis | Pobiera lub ustawia jasny szary łupek. |
light_steel_blue | Color | Odczyt/zapis | Pobiera lub ustawia jasny stalowy niebieski. |
light_yellow | Color | Odczyt/zapis | Pobiera lub ustawia jasny żółty. |
lime | Color | Odczyt/zapis | Pobiera lub ustawia wartość lime. |
lime_green | Color | Odczyt/zapis | Pobiera lub ustawia zielony limonkowy. |
linen | Color | Odczyt/zapis | Pobiera lub ustawia kolor linen. |
magenta | Color | Odczyt/zapis | Pobiera lub ustawia magentę. |
maroon | Color | Odczyt/zapis | Pobiera lub ustawia maroon. |
medium_aquamarine | Color | Odczyt/zapis | Pobiera lub ustawia średni akwamaryn. |
medium_blue | Color | Odczyt/zapis | Pobiera lub ustawia średni niebieski. |
medium_orchid | Color | Odczyt/zapis | Pobiera lub ustawia medium orchid. |
medium_purple | Color | Odczyt/zapis | Pobiera lub ustawia średni purpurowy. |
medium_sea_green | Color | Odczyt/zapis | Pobiera lub ustawia medium sea green. |
medium_slate_blue | Color | Odczyt/zapis | Pobiera lub ustawia średni łupek niebieski. |
medium_spring_green | Color | Odczyt/zapis | Pobiera lub ustawia medium spring green. |
medium_turquoise | Color | Odczyt/zapis | Pobiera lub ustawia średni turkus. |
medium_violet_red | Color | Odczyt/zapis | Pobiera lub ustawia medium violet red. |
midnight_blue | Color | Odczyt/zapis | Pobiera lub ustawia kolor midnight blue. |
mint_cream | Color | Odczyt/zapis | Pobiera lub ustawia miętowy krem. |
misty_rose | Color | Odczyt/zapis | Pobiera lub ustawia kolor misty rose. |
moccasin | Color | Odczyt/zapis | Pobiera lub ustawia mokasyn. |
navajo_white | Color | Odczyt/zapis | Pobiera lub ustawia navajo white. |
navy | Color | Odczyt/zapis | Pobiera lub ustawia granatowy. |
old_lace | Color | Odczyt/zapis | Pobiera lub ustawia old lace. |
olive | Color | Odczyt/zapis | Pobiera lub ustawia oliwkowy. |
olive_drab | Color | Odczyt/zapis | Pobiera lub ustawia kolor oliwkowy. |
orange | Color | Odczyt/zapis | Pobiera lub ustawia pomarańczowy. |
orange_red | Color | Odczyt/zapis | Pobiera lub ustawia pomarańczowo-czerwony. |
orchid | Color | Odczyt/zapis | Pobiera lub ustawia orchideę. |
pale_goldenrod | Color | Odczyt/zapis | Pobiera lub ustawia kolor pale goldenrod. |
pale_green | Color | Odczyt/zapis | Pobiera lub ustawia blady zielony. |
pale_turquoise | Color | Odczyt/zapis | Pobiera lub ustawia blady turkus. |
pale_violet_red | Color | Odczyt/zapis | Pobiera lub ustawia kolor pale violet red. |
papaya_whip | Color | Odczyt/zapis | Pobiera lub ustawia papaya whip. |
peach_puff | Color | Odczyt/zapis | Pobiera lub ustawia wartość peach puff. |
peru | Color | Odczyt/zapis | Pobiera lub ustawia wartość peru. |
pink | Color | Odczyt/zapis | Pobiera lub ustawia różowy. |
plum | Color | Odczyt/zapis | Pobiera lub ustawia śliwkowy. |
powder_blue | Color | Odczyt/zapis | Pobiera lub ustawia kolor błękitny pudrowy. |
purple | Color | Odczyt/zapis | Pobiera lub ustawia purpurowy kolor. |
red | Color | Odczyt/zapis | Pobiera lub ustawia wartość czerwonego. |
rosy_brown | Color | Odczyt/zapis | Pobiera lub ustawia kolor różowego brązu. |
royal_blue | Color | Odczyt/zapis | Pobiera lub ustawia królewski niebieski. |
saddle_brown | Color | Odczyt/zapis | Pobiera lub ustawia wartość saddle brown. |
salmon | Color | Odczyt/zapis | Pobiera lub ustawia salmon. |
sandy_brown | Color | Odczyt/zapis | Pobiera lub ustawia wartość sandy brown. |
sea_green | Color | Odczyt/zapis | Pobiera lub ustawia kolor morski. |
sea_shell | Color | Odczyt/zapis | Pobiera lub ustawia muszlę morską. |
sienna | Color | Odczyt/zapis | Pobiera lub ustawia odcień sienna. |
silver | Color | Odczyt/zapis | Pobiera lub ustawia wartość srebra. |
sky_blue | Color | Odczyt/zapis | Pobiera lub ustawia niebieski nieba. |
slate_blue | Color | Odczyt/zapis | Pobiera lub ustawia szaroniebieski. |
slate_gray | Color | Odczyt/zapis | Pobiera lub ustawia szary łupek. |
snow | Color | Odczyt/zapis | Pobiera lub ustawia snow. |
spring_green | Color | Odczyt/zapis | Pobiera lub ustawia zielony wiosenny. |
steel_blue | Color | Odczyt/zapis | Pobiera lub ustawia odcień steel blue. |
tan | Color | Odczyt/zapis | Pobiera lub ustawia tan. |
teal | Color | Odczyt/zapis | Pobiera lub ustawia kolor teal. |
thistle | Color | Odczyt/zapis | Pobiera lub ustawia kolor thistle. |
tomato | Color | Odczyt/zapis | Pobiera lub ustawia pomidor. |
transparent | Color | Odczyt/zapis | Pobiera lub ustawia przeźroczystość. |
turquoise | Color | Odczyt/zapis | Pobiera lub ustawia turkus. |
violet | Color | Odczyt/zapis | Pobiera lub ustawia violet. |
wheat | Color | Odczyt/zapis | Pobiera lub ustawia wartość wheat. |
white | Color | Odczyt/zapis | Pobiera lub ustawia biały. |
white_smoke | Color | Odczyt/zapis | Pobiera lub ustawia biały dym. |
yellow | Color | Odczyt/zapis | Pobiera lub ustawia wartość żółtego. |
yellow_green | Color | Odczyt/zapis | Pobiera lub ustawia zielono-żółty. |
Metody
| Sygnatura | Opis |
|---|---|
Color() → Color | Tworzy kolor z podanymi składnikami ARGB (każdy 0-255). |
Color(a: uint8_t, r: uint8_t, g: uint8_t, b: uint8_t) | Tworzy kolor z podanymi składnikami ARGB (każdy 0-255). |
from_argb(a: uint8_t, r: uint8_t, g: uint8_t, b: uint8_t) → Color | Tworzy obiekt Color z komponentów ARGB. |
a() → uint8_t | Zwraca komponent alfa. |
r() → uint8_t | Zwraca komponent czerwony. |
g() → uint8_t | Zwraca zielony składnik. |
b() → uint8_t | Zwraca niebieski składnik. |
to_string() → std::string | Zwraca czytelną dla człowieka reprezentację jako ciąg znaków. |