Bitmap.getColorMask

Overview | Methods | This Package | All Packages

Bitmap.getColorMask

Retrieves the transparency mask for a transparent bitmap.

Syntax

public Bitmap getColorMask()

Return Value

A Bitmap object that contains the transparency color mask.

Remarks

This functionality is useful in cases in which you need to render bitmap transparency yourself, or to pass transparent masks to another method.