Color

Overview

Color là một lớp trong Aspose.Slides FOSS cho C++.

Nó đại diện cho một màu ARGB, tương đương với System.Drawing.Color.

Khóa học này cung cấp 8 phương pháp để làm việc với các đối tượng Màu sắc trong các chương trình C++. Các phương pháp có sẵn bao gồm: Color, a, b, from_argb, g, r, to_string. Tất cả các thành viên công cộng đều có thể truy cập vào bất kỳ ứng dụng C++ nào sau khi cài đặt Aspose.Slides FOSS cho gói C ++. Tài sản : Color, alice_blue, antique_white, aqua, aquamarine, azure,Và 136 nhiều hơn nữa.

Properties

NameTypeAccessDescription
ColorColorReadnhận được màu sắc.
alice_blueColorĐọc / viếtNhập hoặc đặt Alice Blue.
antique_whiteColorĐọc / viếtNhận hoặc đặt màu trắng cổ.
aquaColorĐọc / viết- Nhận hoặc đặt Aqua.
aquamarineColorĐọc / viết- Nhận hoặc đặt aquamarine.
azureColorĐọc / viếtGửi hoặc đặt Azure.
beigeColorĐọc / viếtGửi hoặc đặt beige.
bisqueColorĐọc / viết- Đặt hoặc đặt bánh.
blackColorĐọc / viếtGửi hoặc đặt màu đen.
blanched_almondColorĐọc / viếtGửi hoặc đặt khoai tây.
blueColorĐọc / viết- Đặt hoặc đặt màu xanh.
blue_violetColorĐọc / viếtGửi hoặc đặt màu xanh lá cây.
brownColorĐọc / viếtGửi hoặc đặt màu nâu.
burly_woodColorĐọc / viếtGửi hoặc đặt cây lót.
cadet_blueColorĐọc / viếtGửi hoặc đặt Cadet Blue.
chartreuseColorĐọc / viếtGửi hoặc đặt bản đồ.
chocolateColorĐọc / viết- Đưa hoặc đặt sô cô la.
coralColorĐọc / viết- Đặt hoặc đặt cốt lõi.
cornflower_blueColorĐọc / viếtNhận hoặc đặt hoa hồng xanh.
cornsilkColorĐọc / viết- Nhận hoặc đặt sữa chua.
crimsonColorĐọc / viếtGửi hoặc đặt tội phạm.
cyanColorĐọc / viếtGửi hoặc đặt cyan.
dark_blueColorĐọc / viếtGặp hoặc đặt màu xanh tối.
dark_cyanColorĐọc / viếtGặp hoặc đặt cyan tối.
dark_goldenrodColorĐọc / viếtNhận hoặc đặt vàng đen.
dark_grayColorĐọc / viếtGặp hoặc đặt màu xám tối.
dark_greenColorĐọc / viếtNhận hoặc đặt màu xanh tối.
dark_khakiColorĐọc / viếtGặp hoặc đặt khaki tối.
dark_magentaColorĐọc / viếtNhận hoặc đặt Magenta tối.
dark_olive_greenColorĐọc / viếtNhận hoặc đặt màu xanh lá cây dầu mỏ tối.
dark_orangeColorĐọc / viếtNhận hoặc đặt màu nâu tối.
dark_orchidColorĐọc / viếtNhận hoặc đặt một orchid tối.
dark_redColorĐọc / viếtNhận hoặc đặt màu đỏ tối.
dark_salmonColorĐọc / viếtNhận hoặc đặt salmon tối.
dark_sea_greenColorĐọc / viếtNhận hoặc đặt biển tối xanh.
dark_slate_blueColorĐọc / viếtNhận hoặc đặt màu xanh lá cây mờ tối.
dark_slate_grayColorĐọc / viếtNhận hoặc đặt màu xám mờ tối.
dark_turquoiseColorĐọc / viếtNhận hoặc đặt màu đen turquoise.
dark_violetColorĐọc / viếtGửi hoặc đặt màu violet tối.
deep_pinkColorĐọc / viếtNhận hoặc đặt màu hồng sâu.
deep_sky_blueColorĐọc / viếtNhận hoặc đặt bầu trời sâu xanh.
dim_grayColorĐọc / viếtGets hoặc đặt dim màu xám.
dodger_blueColorĐọc / viếtGets hoặc đặt dodger blue.
firebrickColorĐọc / viết- Đặt hoặc đặt đèn lửa.
floral_whiteColorĐọc / viếtNhận hoặc đặt màu trắng hoa.
forest_greenColorĐọc / viết- Nhận hoặc đặt rừng xanh.
fuchsiaColorĐọc / viếtGặp hoặc đặt fuchsia.
gainsboroColorĐọc / viếtNhận hoặc đặt gainsboro.
ghost_whiteColorĐọc / viếtNhận hoặc đặt ma quỷ trắng.
goldColorĐọc / viết- Nhận hoặc đặt vàng.
goldenrodColorĐọc / viếtGửi hoặc đặt vàng.
grayColorĐọc / viếtGửi hoặc đặt màu xám.
greenColorĐọc / viếtGửi hoặc đặt màu xanh lá cây.
green_yellowColorĐọc / viếtNhận hoặc đặt màu vàng xanh.
honeydewColorĐọc / viết- Đặt hoặc đặt củi mật ong.
hot_pinkColorĐọc / viết- Nhận hoặc đặt màu hồng nóng.
indian_redColorĐọc / viếtGets hoặc đặt màu đỏ Ấn Độ.
indigoColorĐọc / viếtGặp hoặc đặt indigo.
ivoryColorĐọc / viết- Đặt hoặc đặt con voi.
khakiColorĐọc / viếtGửi hoặc đặt khaki.
lavenderColorĐọc / viết- Đặt hoặc đặt lá cắm.
lavender_blushColorĐọc / viếtNhận hoặc đặt bơm lavender.
lawn_greenColorĐọc / viếtGửi hoặc đặt lỗ xanh lá cây.
lemon_chiffonColorĐọc / viếtNhận hoặc đặt chai lemon.
light_blueColorĐọc / viếtNhận hoặc đặt ánh sáng xanh.
light_coralColorĐọc / viếtNhận hoặc đặt coral ánh sáng.
light_cyanColorĐọc / viếtNhận hoặc đặt ánh sáng cyan.
light_goldenrod_yellowColorĐọc / viếtNhận hoặc đặt ánh sáng vàng hồng vàng.
light_grayColorĐọc / viếtNhận hoặc đặt ánh sáng màu xám.
light_greenColorĐọc / viếtNhận hoặc đặt ánh sáng xanh.
light_pinkColorĐọc / viếtNhận hoặc đặt ánh sáng màu hồng.
light_salmonColorĐọc / viếtNhận hoặc đặt đèn salmon.
light_sea_greenColorĐọc / viếtNhận hoặc đặt ánh sáng biển xanh.
light_sky_blueColorĐọc / viếtNhận hoặc đặt bầu trời màu xanh.
light_slate_grayColorĐọc / viếtNhận hoặc đặt ánh sáng sơn màu xám.
light_steel_blueColorĐọc / viếtNhận hoặc đặt màu xanh lá cây thép sáng.
light_yellowColorĐọc / viếtNhận hoặc đặt màu vàng ánh sáng.
limeColorĐọc / viếtGửi hoặc đặt lưỡi.
lime_greenColorĐọc / viếtGửi hoặc đặt lưỡi xanh.
linenColorĐọc / viếtGặp hoặc đặt linen.
magentaColorĐọc / viếtGửi hoặc đặt Magenta.
maroonColorĐọc / viếtGửi hoặc đặt Maroon.
medium_aquamarineColorĐọc / viếtNhận hoặc đặt trung bình aquamarine.
medium_blueColorĐọc / viết- Nhận hoặc đặt màu xanh trung bình.
medium_orchidColorĐọc / viếtNhận hoặc đặt một trung bình orchid.
medium_purpleColorĐọc / viếtGặp hoặc đặt trung bình bông.
medium_sea_greenColorĐọc / viếtNhận hoặc đặt biển trung bình xanh.
medium_slate_blueColorĐọc / viếtNhận hoặc đặt trung bình sợi xanh.
medium_spring_greenColorĐọc / viếtNhận hoặc đặt mùa xuân trung bình xanh.
medium_turquoiseColorĐọc / viếtNhận hoặc đặt trung bình turquoise.
medium_violet_redColorĐọc / viếtNhận hoặc đặt trung bình màu đỏ.
midnight_blueColorĐọc / viết- Đặt hoặc đặt màu xanh nửa đêm.
mint_creamColorĐọc / viếtNhận hoặc đặt kem mint.
misty_roseColorĐọc / viếtGửi hoặc đặt màu hồng mờ nhạt.
moccasinColorĐọc / viếtNhận hoặc đặt moccasin.
navajo_whiteColorĐọc / viếtGets hoặc đặt Navajo trắng.
navyColorĐọc / viết- Nhận hoặc đặt hải quân.
old_laceColorĐọc / viết- Đặt hoặc đặt cái cũ.
oliveColorĐọc / viết- Đặt hoặc đặt dầu ô liu.
olive_drabColorĐọc / viết- Nhận hoặc đặt củ dầu.
orangeColorĐọc / viếtGửi hoặc đặt màu naranh.
orange_redColorĐọc / viếtGets hoặc đặt màu đỏ naranh.
orchidColorĐọc / viết- Đặt hoặc đặt orchid.
pale_goldenrodColorĐọc / viếtGets hoặc đặt các goldenrod.
pale_greenColorĐọc / viếtGửi hoặc đặt màu xanh lá cây.
pale_turquoiseColorĐọc / viếtGets hoặc đặt màu vàng turquoise.
pale_violet_redColorĐọc / viếtGets hoặc đặt màu đỏ violet.
papaya_whipColorĐọc / viếtGửi hoặc đặt vải papaya.
peach_puffColorĐọc / viếtGets hoặc đặt peach puff.
peruColorĐọc / viếtGặp hoặc đặt Peru.
pinkColorĐọc / viết- Đặt hoặc đặt màu hồng.
plumColorĐọc / viếtGửi hoặc đặt Plum.
powder_blueColorĐọc / viếtNhận hoặc đặt bột xanh.
purpleColorĐọc / viếtGửi hoặc đặt màu hồng.
redColorĐọc / viếtGửi hoặc đặt màu đỏ.
rosy_brownColorĐọc / viếtGửi hoặc đặt màu hồng nâu.
royal_blueColorĐọc / viếtGửi hoặc đặt màu xanh hoàng gia.
saddle_brownColorĐọc / viếtGets hoặc đặt saddle brown.
salmonColorĐọc / viết- Đặt hoặc đặt salmon.
sandy_brownColorĐọc / viếtGửi hoặc đặt cát màu nâu.
sea_greenColorĐọc / viết- Đưa hoặc đặt biển xanh.
sea_shellColorĐọc / viếtGets hoặc đặt biển shell.
siennaColorĐọc / viếtGets hoặc đặt sienna.
silverColorĐọc / viết- Nhận hoặc đặt bạc.
sky_blueColorĐọc / viếtGặp hoặc đặt bầu trời xanh.
slate_blueColorĐọc / viếtGửi hoặc đặt màu xanh lá cây.
slate_grayColorĐọc / viếtGửi hoặc đặt sợi màu xám.
snowColorĐọc / viết- Đặt hoặc đặt tuyết.
spring_greenColorĐọc / viếtLấy hoặc đặt mùa xuân xanh.
steel_blueColorĐọc / viết- Nhận hoặc đặt màu xanh thép.
tanColorĐọc / viết- Đặt hoặc đặt tan.
tealColorĐọc / viếtGửi hoặc đặt cái thùng.
thistleColorĐọc / viếtGửi hoặc đặt thistle.
tomatoColorĐọc / viết- Đặt hoặc đặt cà chua.
transparentColorĐọc / viếtNhận hoặc đặt thông minh.
turquoiseColorĐọc / viếtGửi hoặc đặt turquoise.
violetColorĐọc / viết- Đặt hoặc đặt violet.
wheatColorĐọc / viếtGửi hoặc đặt hạt.
whiteColorĐọc / viếtGửi hoặc đặt màu trắng.
white_smokeColorĐọc / viếtNhận hoặc đặt khói trắng.
yellowColorĐọc / viếtGặp hoặc đặt màu vàng.
yellow_greenColorĐọc / viếtNhận hoặc đặt màu xanh lá cây vàng.

Methods

SignatureDescription
Color()ColorXây dựng một màu sắc với các thành phần ARGB (mỗi 0-255).
Color(a: uint8_t, r: uint8_t, g: uint8_t, b: uint8_t)Xây dựng một màu sắc với các thành phần ARGB (mỗi 0-255).
from_argb(a: uint8_t, r: uint8_t, g: uint8_t, b: uint8_t)ColorTạo một màu từ các thành phần ARGB.
a()uint8_tTrở lại thành phần alpha.
r()uint8_tQuay lại thành phần đỏ.
g()uint8_tTrở lại thành phần xanh.
b()uint8_tTrở lại thành phần màu xanh.
to_string()std::stringTrở lại một biểu hiện string có thể đọc được bởi con người.

See Also

 Tiếng Việt