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

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

scRGB カラースペースで新しい色を作成します。

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float a, float r, float g, float b)
パラメーター説明
a単精度浮動小数点数アルファ色成分。
r単精度浮動小数点数赤色コンポーネント。
g単精度浮動小数点数緑色コンポーネント。
b単精度浮動小数点数青色コンポーネント。

ReturnValue

新しい色。

参照

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

scRGB カラースペースで新しい色を作成します。

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(float r, float g, float b)
パラメーター説明
r単精度浮動小数点数赤色コンポーネント。
g単精度浮動小数点数緑色コンポーネント。
b単精度浮動小数点数青色コンポーネント。

ReturnValue

新しい色。

参照

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

sRGB カラースペースで新しい色を作成します。

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t a, int32_t r, int32_t g, int32_t b)
パラメーター説明
aint32_tアルファ色成分。
rint32_t赤色コンポーネント。
gint32_t緑色コンポーネント。
bint32_t青色コンポーネント。

ReturnValue

新しい色。

参照

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

sRGB カラースペースで新しい色を作成します。

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(int32_t r, int32_t g, int32_t b)
パラメーター説明
rint32_t赤色コンポーネント。
gint32_t緑色コンポーネント。
bint32_t青色コンポーネント。

ReturnValue

新しい色。

参照

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

新しい色を作成します。

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::Drawing::Color color)
パラメーター説明
colorSystem::Drawing::ColorRGBカラー用のネイティブカラーインスタンスです。

ReturnValue

新しい色。

参照

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

ICC ベースのカラースペースで新しい色を作成します。

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::SharedPtr<XpsModel::XpsIccProfile> iccProfile, const System::ArrayPtr<float> &components)
パラメーター説明
iccProfileSystem::SharedPtr<XpsModel::XpsIccProfile>ICCプロファイルリソースです。
コンポーネントconst System::ArrayPtr<float>&カラーコンポーネント。

ReturnValue

新しい色。

参照

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

ICC ベースのカラースペースで新しい色を作成します。

System::SharedPtr<XpsModel::XpsColor> Aspose::Page::XPS::XpsDocument::CreateColor(System::String path, const System::ArrayPtr<float> &components)
パラメーター説明
パスSystem::StringICCプロファイルへのパスです。
コンポーネントconst System::ArrayPtr<float>&カラーコンポーネント。

ReturnValue

新しい色。

参照