premultiplyColor

Premultiplies the specified color and stores the result in this color. This color's RGB components are set to the product of the specified color's RGB components and its alpha component. This color's alpha component is set to the specified color's alpha.

Return

this color set to the premultiplied components of the specified color

Parameters

color

the color with components to premultiply and store in this color