public static enum SignApi.Pdf.Font extends Enum<SignApi.Pdf.Font>
Enum Constant and Description |
---|
COURIER |
COURIER_BOLD |
COURIER_BOLD_OBLIQUE |
COURIER_OBLIQUE |
HELVETICA |
HELVETICA_BOLD |
HELVETICA_BOLD_OBLIQUE |
HELVETICA_OBLIQUE |
SYMBOL |
TIMES_BOLD |
TIMES_BOLD_ITALIC |
TIMES_ITALIC |
TIMES_ROMAN |
ZAPF_DINGBATS |
Modifier and Type | Method and Description |
---|---|
static Optional<SignApi.Pdf.Font> |
fromName(String fontName)
Gets a font for the given name.
|
String |
getName()
The name of the font.
|
static SignApi.Pdf.Font |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignApi.Pdf.Font[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignApi.Pdf.Font COURIER_BOLD_OBLIQUE
public static final SignApi.Pdf.Font COURIER_BOLD
public static final SignApi.Pdf.Font COURIER_OBLIQUE
public static final SignApi.Pdf.Font COURIER
public static final SignApi.Pdf.Font HELVETICA_BOLD_OBLIQUE
public static final SignApi.Pdf.Font HELVETICA_BOLD
public static final SignApi.Pdf.Font HELVETICA_OBLIQUE
public static final SignApi.Pdf.Font HELVETICA
public static final SignApi.Pdf.Font SYMBOL
public static final SignApi.Pdf.Font TIMES_BOLD_ITALIC
public static final SignApi.Pdf.Font TIMES_BOLD
public static final SignApi.Pdf.Font TIMES_ITALIC
public static final SignApi.Pdf.Font TIMES_ROMAN
public static final SignApi.Pdf.Font ZAPF_DINGBATS
public static SignApi.Pdf.Font[] values()
for (SignApi.Pdf.Font c : SignApi.Pdf.Font.values()) System.out.println(c);
public static SignApi.Pdf.Font 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 String getName()
public static Optional<SignApi.Pdf.Font> fromName(String fontName)
fontName
- The font name.Copyright © 2024. All rights reserved.