| java.awt.Transparency
All known Subclasses: java.awt.image.ColorModel, java.awt.Color,
Transparency | public interface Transparency (Code) | | The Transparency interface defines the common transparency
modes for implementing classes.
version: 1.19, 08/19/02 |
Field Summary | |
final public static int | BITMASK Represents image data that is guaranteed to be either completely
opaque, with an alpha value of 1.0, or completely transparent,
with an alpha value of 0.0. | final public static int | OPAQUE Represents image data that is guaranteed to be completely opaque,
meaning that all pixels have an alpha value of 1.0. | final public static int | TRANSLUCENT Represents image data that contains or might contain arbitrary
alpha values between and including 0.0 and 1.0. |
Method Summary | |
public int | getTransparency() Returns the type of this Transparency .
the field type of this Transparency , which iseither OPAQUE, BITMASK or TRANSLUCENT. |
BITMASK | final public static int BITMASK(Code) | | Represents image data that is guaranteed to be either completely
opaque, with an alpha value of 1.0, or completely transparent,
with an alpha value of 0.0.
|
OPAQUE | final public static int OPAQUE(Code) | | Represents image data that is guaranteed to be completely opaque,
meaning that all pixels have an alpha value of 1.0.
|
TRANSLUCENT | final public static int TRANSLUCENT(Code) | | Represents image data that contains or might contain arbitrary
alpha values between and including 0.0 and 1.0.
|
getTransparency | public int getTransparency()(Code) | | Returns the type of this Transparency .
the field type of this Transparency , which iseither OPAQUE, BITMASK or TRANSLUCENT. |
|
|