Transparency interface defines the common transparency
modes for implementing classes.
| Modifier and Type | Field and Description |
|---|---|
| public static final 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. |
| public static final int | OPAQUE
Represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0. |
| public static final int | TRANSLUCENT
Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the field type of thisTransparency, which is
either OPAQUE, BITMASK or TRANSLUCENT.Returns the type of this |
| BITMASK | back to summary |
|---|---|
| public static final 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. | |
| OPAQUE | back to summary |
|---|---|
| public static final int OPAQUE Represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0. | |
| TRANSLUCENT | back to summary |
|---|---|
| public static final int TRANSLUCENT Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0. | |
| getTransparency | back to summary |
|---|---|
| public int getTransparency() Returns the type of this
| |