Microsoft SDK for Java

Bitmap.getMonochromeMask

Retrieves the monochrome mask for a transparent bitmap.

Syntax

public Bitmap getMonochromeMask()

Return Value

Returns a Bitmap object that contains the monochrome mask.

Remarks

Generally, you use this method when you need to draw a bitmap transparency yourself, or to pass the transparent mask to another method.

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