-
- All Known Subinterfaces:
-
Paint
- 所有已知实现类:
-
BufferedImage,Color,ColorModel,ColorUIResource,ComponentColorModel,DirectColorModel,GradientPaint,IndexColorModel,LinearGradientPaint,MultipleGradientPaint,PackedColorModel,RadialGradientPaint,SystemColor,TexturePaint,VolatileImage
public interface TransparencyTransparency接口定义了实现类的通用透明度模式。
-
-
Field Summary
Fields Modifier and Type Field 描述 static intBITMASK表示保证为完全不透明,Alpha值为1.0或完全透明,Alpha值为0.0的图像数据。static intOPAQUE表示保证完全不透明的图像数据,意味着所有像素的alpha值为1.0。static intTRANSLUCENT表示包含或可能包含0.0和1.0之间的任意α值的图像数据。
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 intgetTransparency()返回此Transparency的类型。
-
-
-
字段详细信息
-
OPAQUE
@Native static final int OPAQUE
表示保证完全不透明的图像数据,意味着所有像素的alpha值为1.0。- 另请参见:
- Constant Field Values
-
BITMASK
@Native static final int BITMASK
表示保证为完全不透明,Alpha值为1.0或完全透明,Alpha值为0.0的图像数据。- 另请参见:
- Constant Field Values
-
TRANSLUCENT
@Native static final int TRANSLUCENT
表示包含或可能包含0.0和1.0之间的任意α值的图像数据。- 另请参见:
- Constant Field Values
-
-