public interface Transparency
Transparency
接口定义实现类普通透明模式。
Modifier and Type | Field and Description |
---|---|
static int |
BITMASK
表示是保证是完全不透明的图像数据,具有1的α值,或完全透明的,具有α值为0。
|
static int |
OPAQUE
表示保证是完全不透明的图像数据,这意味着所有像素都有一个1的α值。
|
static int |
TRANSLUCENT
表示包含或可能包含任意的α值,其中包括1和0之间的图像数据。
|
Modifier and Type | Method and Description |
---|---|
int |
getTransparency()
返回该
Transparency 类型。
|
@Native static final int OPAQUE
@Native static final int BITMASK
@Native static final int TRANSLUCENT
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.