public enum FontStyle extends Enum<FontStyle>
Enumerates 14 types of font.
Enum Constant and Description |
---|
CjkFont
True Type Font for CJK supporting ,default is MS PGothic font.
|
Courier
Courier font.
|
CourierBold
Bold Courier font.
|
CourierBoldOblique
Bold oblique Courier font.
|
CourierOblique
Oblique Curier font.
|
Helvetica
Helvetica font.
|
HelveticaBold
Bold Helvetica font.
|
HelveticaBoldOblique
Bold oblique Helvetica font.
|
HelveticaOblique
Oblique Helvetica font.
|
Symbol
Symbol font.
|
TimesBold
Bold Times font.
|
TimesBoldItalic
Bold italic Times font.
|
TimesItalic
Italic Times font.
|
TimesRoman
Times-Roman font.
|
Unknown
Unknown font.
|
ZapfDingbats
ZapfDingbats font.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyle Courier
Courier font.
public static final FontStyle CourierBold
Bold Courier font.
public static final FontStyle CourierOblique
Oblique Curier font.
public static final FontStyle CourierBoldOblique
Bold oblique Courier font.
public static final FontStyle Helvetica
Helvetica font.
public static final FontStyle HelveticaBold
Bold Helvetica font.
public static final FontStyle HelveticaOblique
Oblique Helvetica font.
public static final FontStyle HelveticaBoldOblique
Bold oblique Helvetica font.
public static final FontStyle Symbol
Symbol font.
public static final FontStyle TimesRoman
Times-Roman font.
public static final FontStyle TimesBold
Bold Times font.
public static final FontStyle TimesItalic
Italic Times font.
public static final FontStyle TimesBoldItalic
Bold italic Times font.
public static final FontStyle ZapfDingbats
ZapfDingbats font.
public static final FontStyle Unknown
Unknown font. Standard font will be used.
public static final FontStyle CjkFont
True Type Font for CJK supporting ,default is MS PGothic font.
public static FontStyle[] values()
for (FontStyle c : FontStyle.values()) System.out.println(c);
public static FontStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2023 Aspose. All Rights Reserved.