public enum FileFormat extends java.lang.Enum<FileFormat>
Enum Constant and Description |
---|
ANIMATED_GIF |
ATXT |
BASE64 |
BRAILLE_PNG |
EPS |
EPS_TEXT |
HTML |
HTML5 |
LATEX |
LATEX_NO_PREAMBLE |
MJPEG |
PDF |
PNG |
PREPROC |
SCXML |
SVG |
UTXT |
VDX |
XMI_ARGO |
XMI_STANDARD |
XMI_STAR |
Modifier and Type | Field and Description |
---|---|
static java.awt.Graphics2D |
gg |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
changeName(java.lang.String fileName,
int cpt) |
boolean |
doesSupportMetadata() |
boolean |
equalsMetadata(java.lang.String currentMetadata,
SFile existingFile) |
StringBounder |
getDefaultStringBounder(TikzFontDistortion tikzFontDistortion) |
java.lang.String |
getFileSuffix()
Returns the file format to be used for that format.
|
boolean |
isEps()
Check if this file format is Encapsulated PostScript.
|
static FileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileFormat PNG
public static final FileFormat SVG
public static final FileFormat EPS
public static final FileFormat EPS_TEXT
public static final FileFormat ATXT
public static final FileFormat UTXT
public static final FileFormat XMI_STANDARD
public static final FileFormat XMI_STAR
public static final FileFormat XMI_ARGO
public static final FileFormat SCXML
public static final FileFormat PDF
public static final FileFormat MJPEG
public static final FileFormat ANIMATED_GIF
public static final FileFormat HTML
public static final FileFormat HTML5
public static final FileFormat VDX
public static final FileFormat LATEX
public static final FileFormat LATEX_NO_PREAMBLE
public static final FileFormat BASE64
public static final FileFormat BRAILLE_PNG
public static final FileFormat PREPROC
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getFileSuffix()
public StringBounder getDefaultStringBounder(TikzFontDistortion tikzFontDistortion)
public boolean isEps()
true
for EPS.public java.lang.String changeName(java.lang.String fileName, int cpt)
public boolean doesSupportMetadata()
public boolean equalsMetadata(java.lang.String currentMetadata, SFile existingFile)
Copyright © 2020. All Rights Reserved.