Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transparency
The Transparency interface defines the common transparency
modes for implementing classes.
| Field Summary | |
|---|---|
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. |
static int |
OPAQUE
Represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0. |
static int |
TRANSLUCENT
Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0. |
| Method Summary | |
|---|---|
int |
getTransparency()
Returns the type of this Transparency. |
| Field Detail |
|---|
static final int OPAQUE
static final int BITMASK
static final int TRANSLUCENT
| Method Detail |
|---|
int getTransparency()
Transparency.
Transparency, which is
either OPAQUE, BITMASK or TRANSLUCENT.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.