Class ColorExtensions

Class ColorExtensions

Namespace: Aspose.Imaging.Extensions
Assembly: Aspose.Imaging.dll (25.4.0)

The Aspose.Imaging.Color extension methods.

public static class ColorExtensions

Inheritance

object ColorExtensions

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

ToGdiColor(Color)

Converts the Aspose.Imaging.Color to the System.Drawing.Color.

public static Color ToGdiColor(Color color)

Parameters

color Color

TheAspose.Imaging.Color to convert.

Returns

Color

The converted System.Drawing.Color.

ToGdiColors(Color[])

Converts the Aspose.Imaging.Color array to the System.Drawing.Color array.

public static Color[] ToGdiColors(Color[] colors)

Parameters

colors Color []

TheAspose.Imaging.Color array to convert.

Returns

Color []

The converted System.Drawing.Color array.

 English