Bitmap.getTransparentColor

Overview | Methods | This Package | All Packages

Bitmap.getTransparentColor

Retrieves the transparent color for the Bitmap object.

Syntax

public final Color getTransparentColor()

Return Value

Returns a Color object that specifies the bitmap's transparent color.

Remarks

If you have not previously used the setTransparentColor method to specify a transparent color for this object, the color of the image's lower-left pixel is the default transparent color.