java.awt
Interface Transparency

- 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. |
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
getTransparency
public int getTransparency()
- Return the transparency type.