public interface Transparency
Transparency
接口定义了实现类的通用透明度模式。
Modifier and Type | Field and Description |
---|---|
static int |
BITMASK
表示保证为完全不透明,Alpha值为1.0或完全透明,Alpha值为0.0的图像数据。
|
static int |
OPAQUE
表示保证完全不透明的图像数据,意味着所有像素的alpha值为1.0。
|
static int |
TRANSLUCENT
表示包含或可能包含0.0和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.