All Packages Class Hierarchy This Package Previous Next Index
Interface java.awt.Transparency
- public interface Transparency
This interface defines the common transparency modes for implementing
classes.
BITMASK- The transparency object represents image data that is
guaranteed to be either completely opaque (alpha
value of 1.0) or completely transparent (alpha value of
0.0).
OPAQUE- The transparency object represents image data that is
guaranteed to be completely opaque (all pixels have
an alpha value of 1.0).
TRANSLUCENT- The transparency object represents image data that
contains or may contain arbitrary alpha values.
getTransparency()
- Returns the transparency type.
OPAQUE
public static final int OPAQUE
- The transparency object represents image data that is
guaranteed to be completely opaque (all pixels have
an alpha value of 1.0).
BITMASK
public static final int BITMASK
- The transparency object represents image data that is
guaranteed to be either completely opaque (alpha
value of 1.0) or completely transparent (alpha value of
0.0).
TRANSLUCENT
public static final int TRANSLUCENT
- The transparency object represents image data that
contains or may contain arbitrary alpha values.
getTransparency
public abstract int getTransparency()
- Returns the transparency type.
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature