ColorExtensions

Inheritance: java.lang.Object

public final class ColorExtensions

The Color extension methods.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toGdiColor(Color color)Converts the com.aspose.psd.Color to the System.Drawing.Color .
toGdiColors(Color[] colors)Converts the com.aspose.psd.Color array to the System.Drawing.Color array.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toGdiColor(Color color)

public static Color toGdiColor(Color color)

Converts the com.aspose.psd.Color to the System.Drawing.Color .

Parameters:

ParameterTypeDescription
colorColorThe com.aspose.psd.Color to convert.

Returns: Color - The converted System.Drawing.Color .

toGdiColors(Color[] colors)

public static System.Drawing.Color[] toGdiColors(Color[] colors)

Converts the com.aspose.psd.Color array to the System.Drawing.Color array.

Parameters:

ParameterTypeDescription
colorsColor[]The com.aspose.psd.Color array to convert.

Returns: com.aspose.ms.System.Drawing.Color[] - The converted System.Drawing.Color array.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int