Aspose::Page::XPS::XpsDocument::CreateColor method
Contenido
[
Ocultar
]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ámetro | Tipo | Descripción |
|---|---|---|
| a | float | El componente alfa del color. |
| r | float | El componente de color rojo. |
| g | float | El componente de color verde. |
| b | float | El componente de color azul. |
ReturnValue
Nuevo color.
Ver también
- Typedef SharedPtr
- Class XpsColor
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
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ámetro | Tipo | Descripción |
|---|---|---|
| r | float | El componente de color rojo. |
| g | float | El componente de color verde. |
| b | float | El componente de color azul. |
ReturnValue
Nuevo color.
Ver también
- Typedef SharedPtr
- Class XpsColor
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
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ámetro | Tipo | Descripción |
|---|---|---|
| a | int32_t | El componente alfa del color. |
| r | int32_t | El componente de color rojo. |
| g | int32_t | El componente de color verde. |
| b | int32_t | El componente de color azul. |
ReturnValue
Nuevo color.
Ver también
- Typedef SharedPtr
- Class XpsColor
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
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ámetro | Tipo | Descripción |
|---|---|---|
| r | int32_t | El componente de color rojo. |
| g | int32_t | El componente de color verde. |
| b | int32_t | El componente de color azul. |
ReturnValue
Nuevo color.
Ver también
- Typedef SharedPtr
- Class XpsColor
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateColor(System::Drawing::Color) method
Crea un nuevo color.
System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::Drawing::Color color)
| Parámetro | Tipo | Descripción |
|---|---|---|
| color | System::Drawing::Color | Una instancia de color nativa para color RGB. |
ReturnValue
Nuevo color.
Ver también
- Typedef SharedPtr
- Class XpsColor
- Class Color
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
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ámetro | Tipo | Descripción |
|---|---|---|
| iccProfile | System::SharedPtr<XpsModel::XpsIccProfile> | El recurso del perfil ICC. |
| componentes | const System::ArrayPtr<float>& | Componentes de color. |
ReturnValue
Nuevo color.
Ver también
- Typedef SharedPtr
- Class XpsColor
- Class XpsIccProfile
- Typedef ArrayPtr
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
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ámetro | Tipo | Descripción |
|---|---|---|
| ruta | System::String | La ruta al perfil ICC. |
| componentes | const System::ArrayPtr<float>& | Componentes de color. |
ReturnValue
Nuevo color.
Ver también
- Typedef SharedPtr
- Class XpsColor
- Class String
- Typedef ArrayPtr
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++