Microsoft SDK for Java

Bitmap.setTransparentColor

Specifies the transparent color for this Bitmap's image.

Syntax

public final void setTransparentColor( Color color )

Parameters

color

A Color object that describes the transparent color.

Remarks

Because Windows does not provide native support for transparency, the transparency information that you specify is not persisted with the Bitmap's image.

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