47 |
public interface Transparency |
public interface Transparency |
48 |
{ |
{ |
49 |
/** Image data which is completely opaque, for an alpha value of 1.0. */ |
/** Image data which is completely opaque, for an alpha value of 1.0. */ |
50 |
static final int OPAQUE = 1; |
int OPAQUE = 1; |
51 |
|
|
52 |
/** |
/** |
53 |
* Image data which is either completely opaque or transparent, for an |
* Image data which is either completely opaque or transparent, for an |
54 |
* exact integer alpha value. |
* exact integer alpha value. |
55 |
*/ |
*/ |
56 |
static final int BITMASK = 2; |
int BITMASK = 2; |
57 |
|
|
58 |
/** Image data which is translucent, for a non-integer alpha value. */ |
/** Image data which is translucent, for a non-integer alpha value. */ |
59 |
static final int TRANSLUCENT = 3; |
int TRANSLUCENT = 3; |
60 |
|
|
61 |
/** |
/** |
62 |
* Return the transparency type. |
* Return the transparency type. |