Aspose::Page::XPS::XpsDocument::CreateColor method

XpsDocument::CreateColor(float, float, float, float) method

scRGB renk uzayında yeni bir renk oluşturur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float a, float r, float g, float b)
ParameterTypeAçıklama
afloatAlfa renk bileşeni.
rfloatKırmızı renk bileşeni.
gfloatYeşil renk bileşeni.
bfloatMavi renk bileşeni.

ReturnValue

Yeni renk.

Ayrıca Bakınız

XpsDocument::CreateColor(float, float, float) method

scRGB renk uzayında yeni bir renk oluşturur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float r, float g, float b)
ParameterTypeAçıklama
rfloatKırmızı renk bileşeni.
gfloatYeşil renk bileşeni.
bfloatMavi renk bileşeni.

ReturnValue

Yeni renk.

Ayrıca Bakınız

XpsDocument::CreateColor(int32_t, int32_t, int32_t, int32_t) method

sRGB renk uzayında yeni bir renk oluşturur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t a, int32_t r, int32_t g, int32_t b)
ParameterTypeAçıklama
aint32_tAlfa renk bileşeni.
rint32_tKırmızı renk bileşeni.
gint32_tYeşil renk bileşeni.
bint32_tMavi renk bileşeni.

ReturnValue

Yeni renk.

Ayrıca Bakınız

XpsDocument::CreateColor(int32_t, int32_t, int32_t) method

sRGB renk uzayında yeni bir renk oluşturur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t r, int32_t g, int32_t b)
ParameterTypeAçıklama
rint32_tKırmızı renk bileşeni.
gint32_tYeşil renk bileşeni.
bint32_tMavi renk bileşeni.

ReturnValue

Yeni renk.

Ayrıca Bakınız

XpsDocument::CreateColor(System::Drawing::Color) method

Yeni bir renk oluşturur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::Drawing::Color color)
ParameterTypeAçıklama
renkSystem::Drawing::ColorRGB rengi için yerel bir renk örneği.

ReturnValue

Yeni renk.

Ayrıca Bakınız

XpsDocument::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile>, const System::ArrayPtr<float>&) method

ICC tabanlı renk uzayında yeni bir renk oluşturur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile> iccProfile, const System::ArrayPtr<float> &components)
ParameterTypeAçıklama
iccProfileSystem::SharedPtr<XpsModel::XpsIccProfile>ICC profil kaynağı.
bileşenlerconst System::ArrayPtr<float>&Renk bileşenleri.

ReturnValue

Yeni renk.

Ayrıca Bakınız

XpsDocument::CreateColor(System::String, const System::ArrayPtr<float>&) method

ICC tabanlı renk uzayında yeni bir renk oluşturur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::String path, const System::ArrayPtr<float> &components)
ParameterTypeAçıklama
yolSystem::StringICC profile yolu.
bileşenlerconst System::ArrayPtr<float>&Renk bileşenleri.

ReturnValue

Yeni renk.

Ayrıca Bakınız