ColorExtensions Class
Summary: The Color extension methods.
Module: aspose.psd.extensions
Full Name: aspose.psd.extensions.ColorExtensions
Aspose.PSD Version: 24.12.0
Methods
| Name | Description |
|---|---|
| to_gdi_color(color) | Converts the Color to the aspose.pydrawing.Color. |
| to_gdi_colors(colors) | Converts the Color array to the aspose.pydrawing.Color array. |
Method: to_gdi_color(color) [static]
to_gdi_color(color)
Converts the Color to the aspose.pydrawing.Color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color | Color | TheColor to convert. |
Returns
| Type | Description |
|---|---|
| System.Drawing.Color | The converted aspose.pydrawing.Color. |
Method: to_gdi_colors(colors) [static]
to_gdi_colors(colors)
Converts the Color array to the aspose.pydrawing.Color array.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| colors | Color[] | TheColor array to convert. |
Returns
| Type | Description |
|---|---|
| System.Drawing.Color | The converted aspose.pydrawing.Color array. |