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

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

Crea un nuevo color en el espacio de color scRGB.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float a, float r, float g, float b)
ParámetroTipoDescripción
afloatEl componente alfa del color.
rfloatEl componente de color rojo.
gfloatEl componente de color verde.
bfloatEl componente de color azul.

ReturnValue

Nuevo color.

Ver también

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

Crea un nuevo color en el espacio de color scRGB.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float r, float g, float b)
ParámetroTipoDescripción
rfloatEl componente de color rojo.
gfloatEl componente de color verde.
bfloatEl componente de color azul.

ReturnValue

Nuevo color.

Ver también

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

Crea un nuevo color en el espacio de color sRGB.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t a, int32_t r, int32_t g, int32_t b)
ParámetroTipoDescripción
aint32_tEl componente alfa del color.
rint32_tEl componente de color rojo.
gint32_tEl componente de color verde.
bint32_tEl componente de color azul.

ReturnValue

Nuevo color.

Ver también

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

Crea un nuevo color en el espacio de color sRGB.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t r, int32_t g, int32_t b)
ParámetroTipoDescripción
rint32_tEl componente de color rojo.
gint32_tEl componente de color verde.
bint32_tEl componente de color azul.

ReturnValue

Nuevo color.

Ver también

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

Crea un nuevo color.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::Drawing::Color color)
ParámetroTipoDescripción
colorSystem::Drawing::ColorUna instancia de color nativa para color RGB.

ReturnValue

Nuevo color.

Ver también

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

Crea un nuevo color en un espacio de color basado en ICC.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile> iccProfile, const System::ArrayPtr<float> &components)
ParámetroTipoDescripción
iccProfileSystem::SharedPtr<XpsModel::XpsIccProfile>El recurso del perfil ICC.
componentesconst System::ArrayPtr<float>&Componentes de color.

ReturnValue

Nuevo color.

Ver también

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

Crea un nuevo color en un espacio de color basado en ICC.

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::String path, const System::ArrayPtr<float> &components)
ParámetroTipoDescripción
rutaSystem::StringLa ruta al perfil ICC.
componentesconst System::ArrayPtr<float>&Componentes de color.

ReturnValue

Nuevo color.

Ver también