premultiply
Description:
public void premultiply ()
Converts a non-premultiplied color to a pre-multiplied color.
For example, semi-transparent red is (1.0, 0, 0, 0.5) when non-premultiplied and (0.5, 0, 0, 0.5) when premultiplied.
Parameters:
this |
the color to premultiply |