Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt
Interface Transparency  view Transparency download Transparency.java

All Known Subinterfaces:
Paint
All Known Implementing Classes:
Color, GradientPaint, TexturePaint

public interface Transparency

A common transparency mode for layering graphics.

Since:
1.1

Field Summary
static int BITMASK
          Image data which is either completely opaque or transparent, for an exact integer alpha value.
static int OPAQUE
          Image data which is completely opaque, for an alpha value of 1.0.
static int TRANSLUCENT
          Image data which is translucent, for a non-integer alpha value.
 
Method Summary
 int getTransparency()
          Return the transparency type.
 

Field Detail

OPAQUE

public static final int OPAQUE
Image data which is completely opaque, for an alpha value of 1.0.

See Also:
Constant Field Values

BITMASK

public static final int BITMASK
Image data which is either completely opaque or transparent, for an exact integer alpha value.

See Also:
Constant Field Values

TRANSLUCENT

public static final int TRANSLUCENT
Image data which is translucent, for a non-integer alpha value.

See Also:
Constant Field Values
Method Detail

getTransparency

public int getTransparency()
Return the transparency type.