Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor methode

PageAPI::CreateColor(float, float, float, float) method

Maakt een nieuwe kleur in de scRGB-kleurruimte.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(float a, float r, float g, float b)
ParameterTypeBeschrijving
eenfloatDe alfa-kleurcomponent.
rfloatDe rode kleurcomponent.
gfloatDe groene kleurcomponent.
bfloatDe blauwe kleurcomponent.

ReturnValue

Nieuwe kleur.

Zie ook

PageAPI::CreateColor(float, float, float) method

Maakt een nieuwe kleur in de scRGB-kleurruimte.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(float r, float g, float b)
ParameterTypeBeschrijving
rfloatDe rode kleurcomponent.
gfloatDe groene kleurcomponent.
bfloatDe blauwe kleurcomponent.

ReturnValue

Nieuwe kleur.

Zie ook

PageAPI::CreateColor(int32_t, int32_t, int32_t, int32_t) method

Maakt een nieuwe kleur in de sRGB-kleurruimte.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(int32_t a, int32_t r, int32_t g, int32_t b)
ParameterTypeBeschrijving
eenint32_tDe alfa-kleurcomponent.
rint32_tDe rode kleurcomponent.
gint32_tDe groene kleurcomponent.
bint32_tDe blauwe kleurcomponent.

ReturnValue

Nieuwe kleur.

Zie ook

PageAPI::CreateColor(int32_t, int32_t, int32_t) method

Maakt een nieuwe kleur in de sRGB-kleurruimte.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(int32_t r, int32_t g, int32_t b)
ParameterTypeBeschrijving
rint32_tDe rode kleurcomponent.
gint32_tDe groene kleurcomponent.
bint32_tDe blauwe kleurcomponent.

ReturnValue

Nieuwe kleur.

Zie ook

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

Maakt een nieuwe kleur.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(System::Drawing::Color color)
ParameterTypeBeschrijving
kleurSystem::Drawing::ColorEen native kleurinstantie voor RGB-kleur.

ReturnValue

Nieuwe kleur.

Zie ook

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

Maakt een nieuwe kleur in een ICC-gebaseerde kleurruimte.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile> iccProfile, const System::ArrayPtr<float> &components)
ParameterTypeBeschrijving
iccProfileSystem::SharedPtr<XpsModel::XpsIccProfile>De ICC-profielresource.
componentenconst System::ArrayPtr<float>&Kleurcomponenten.

ReturnValue

Nieuwe kleur.

Zie ook

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

Maakt een nieuwe kleur in een ICC-gebaseerde kleurruimte.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateColor(System::String path, const System::ArrayPtr<float> &components)
ParameterTypeBeschrijving
padSystem::StringHet pad naar het ICC-profiel.
componentenconst System::ArrayPtr<float>&Kleurcomponenten.

ReturnValue

Nieuwe kleur.

Zie ook