public enum OutputFormat extends java.lang.Enum<OutputFormat>
图片格式枚举类。
枚举常量和说明 |
---|
BINARY
BINARY 格式。
|
BMP
BMP 格式。
|
DEFAULT
默认的图片输出格式,即 PNG 格式。
|
EMF
EMF 格式,该格式暂不支持。
|
EPS
EPS 格式,该格式暂不支持。
|
GIF
GIF 格式。
|
JPG
JPG 格式。
|
JPG_PNG
JPG_PNG 混合格式。
|
PDF
PDF 格式,该格式暂不支持。
|
PNG
PNG 格式。
|
限定符和类型 | 方法和说明 |
---|---|
static OutputFormat |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static OutputFormat[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final OutputFormat BINARY
BINARY 格式。
public static final OutputFormat BMP
BMP 格式。
public static final OutputFormat DEFAULT
默认的图片输出格式,即 PNG 格式。
public static final OutputFormat EMF
EMF 格式,该格式暂不支持。
public static final OutputFormat EPS
EPS 格式,该格式暂不支持。
public static final OutputFormat GIF
GIF 格式。
public static final OutputFormat JPG
JPG 格式。
public static final OutputFormat JPG_PNG
JPG_PNG 混合格式。
public static final OutputFormat PDF
PDF 格式,该格式暂不支持。
public static final OutputFormat PNG
PNG 格式。
public static OutputFormat[] values()
for (OutputFormat c : OutputFormat.values()) System.out.println(c);
public static OutputFormat valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。