ColorExtensions Class

Summary: The Color extension methods.

Module: aspose.psd.extensions

Full Name: aspose.psd.extensions.ColorExtensions

Aspose.PSD Version: 24.4.0

Methods

NameDescription
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:

ParameterTypeDescription
colorColorTheColor to convert.

Returns

TypeDescription
System.Drawing.ColorThe 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:

ParameterTypeDescription
colorsColor[]TheColor array to convert.

Returns

TypeDescription
System.Drawing.ColorThe converted aspose.pydrawing.Color array.