Bitmap.setTransparentColor

Overview | Methods | This Package | All Packages

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.