unpremultiply


Description:

public void unpremultiply ()

Converts a pre-multiplied color to a non-premultiplied color.

For example, semi-transparent red is (0.5, 0, 0, 0.5) when premultiplied and (1.0, 0, 0, 0.5) when non-premultiplied.

Parameters:

this

the color to unpremultiply