public static enum GraphicsDevice.WindowTranslucency extends Enum<GraphicsDevice.WindowTranslucency>
Enum Constant and Description |
---|
PERPIXEL_TRANSLUCENT
表示包含或可能包含任意α值的窗口的基础系统中的支持,其中包括1和0之间的任意α值。
|
PERPIXEL_TRANSPARENT
表示支持在底层系统中的窗口的每个像素的保证是完全不透明的,具有α值为1,或完全透明的,具有α值为0。
|
TRANSLUCENT
表示支持在底层系统中的所有像素的像素具有相同的α值之间或包括0和1。
|
Modifier and Type | Method and Description |
---|---|
static GraphicsDevice.WindowTranslucency |
valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static GraphicsDevice.WindowTranslucency[] |
values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
public static final GraphicsDevice.WindowTranslucency PERPIXEL_TRANSPARENT
public static final GraphicsDevice.WindowTranslucency TRANSLUCENT
public static final GraphicsDevice.WindowTranslucency PERPIXEL_TRANSLUCENT
public static GraphicsDevice.WindowTranslucency[] values()
对于(graphicsdevice.windowtranslucency C:graphicsdevice。windowtranslucency。values()) 系统,println(C);
public static GraphicsDevice.WindowTranslucency valueOf(String name)
name
-定要返回的枚举的名称。
IllegalArgumentException
-如果这个枚举类型,也没有固定的具有指定名称
NullPointerException
-如果参数为空
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.