Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.