public enum ScreenVolumeShape extends Enum<ScreenVolumeShape>
Enum Constant and Description |
---|
BOX
盒子。
|
ELLIPSOID
椭球体。
|
SPHERE
球体。
|
Modifier and Type | Method and Description |
---|---|
static ScreenVolumeShape |
valueOf(String name)
返回具有指定名称的此类型的枚举常量。
|
static ScreenVolumeShape[] |
values()
返回一个包含此枚举类型常量的数组,按照它们声明的顺序排列。
|
public static final ScreenVolumeShape ELLIPSOID
public static final ScreenVolumeShape BOX
public static final ScreenVolumeShape SPHERE
public static ScreenVolumeShape[] values()
for (ScreenVolumeShape c : ScreenVolumeShape.values()) System.out.println(c);
public static ScreenVolumeShape valueOf(String name)
name
- 要返回的枚举常量的名称。
IllegalArgumentException
- 如果此枚举类型没有具有指定名称的常量
NullPointerException
- 如果参数为null
Copyright © 2002-2023 CS GROUP. All rights reserved.