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

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

Erstellt eine neue Farbe im scRGB-Farbraum.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float a, float r, float g, float b)
ParameterTypBeschreibung
afloatDie Alpha-Farbkomponente.
rfloatDie rote Farbkomponente.
gfloatDie grüne Farbkomponente.
bfloatDie blaue Farbkomponente.

ReturnValue

Neue Farbe.

Siehe auch

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

Erstellt eine neue Farbe im scRGB-Farbraum.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float r, float g, float b)
ParameterTypBeschreibung
rfloatDie rote Farbkomponente.
gfloatDie grüne Farbkomponente.
bfloatDie blaue Farbkomponente.

ReturnValue

Neue Farbe.

Siehe auch

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

Erstellt eine neue Farbe im sRGB-Farbraum.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t a, int32_t r, int32_t g, int32_t b)
ParameterTypBeschreibung
aint32_tDie Alpha-Farbkomponente.
rint32_tDie rote Farbkomponente.
gint32_tDie grüne Farbkomponente.
bint32_tDie blaue Farbkomponente.

ReturnValue

Neue Farbe.

Siehe auch

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

Erstellt eine neue Farbe im sRGB-Farbraum.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t r, int32_t g, int32_t b)
ParameterTypBeschreibung
rint32_tDie rote Farbkomponente.
gint32_tDie grüne Farbkomponente.
bint32_tDie blaue Farbkomponente.

ReturnValue

Neue Farbe.

Siehe auch

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

Erstellt eine neue Farbe.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::Drawing::Color color)
ParameterTypBeschreibung
colorSystem::Drawing::ColorEine native Farbinstanz für RGB-Farbe.

ReturnValue

Neue Farbe.

Siehe auch

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

Erstellt eine neue Farbe im ICC-basierten Farbraum.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile> iccProfile, const System::ArrayPtr<float> &components)
ParameterTypBeschreibung
iccProfileSystem::SharedPtr<XpsModel::XpsIccProfile>Die ICC-Profilressource.
Komponentenconst System::ArrayPtr<float>&Farbkomponenten.

ReturnValue

Neue Farbe.

Siehe auch

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

Erstellt eine neue Farbe im ICC-basierten Farbraum.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::String path, const System::ArrayPtr<float> &components)
ParameterTypBeschreibung
PfadSystem::StringDer Pfad zum ICC-Profil.
Komponentenconst System::ArrayPtr<float>&Farbkomponenten.

ReturnValue

Neue Farbe.

Siehe auch