Enum BaseRendererBuilder.FSFontUseCase
- java.lang.Object
-
- java.lang.Enum<BaseRendererBuilder.FSFontUseCase>
-
- com.openhtmltopdf.outputdevice.helper.BaseRendererBuilder.FSFontUseCase
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BaseRendererBuilder.FSFontUseCase>
- Enclosing class:
- BaseRendererBuilder<TFinalClass extends BaseRendererBuilder,TBaseRendererBuilderState extends BaseRendererBuilder.BaseRendererBuilderState>
public static enum BaseRendererBuilder.FSFontUseCase extends java.lang.Enum<BaseRendererBuilder.FSFontUseCase>
Use cases for fonts.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOCUMENT
Main document (PDF or Java2D)FALLBACK_FINAL
Use as a fallback fonts after all supplied fonts and the built-in fonts have been tried.FALLBACK_PRE
Use as a fallback font after all supplied fonts have been tried but before the built-in fonts have been attempted.MATHML
SVG
-
Constructor Summary
Constructors Modifier Constructor Description private
FSFontUseCase()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseRendererBuilder.FSFontUseCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BaseRendererBuilder.FSFontUseCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT
public static final BaseRendererBuilder.FSFontUseCase DOCUMENT
Main document (PDF or Java2D)
-
SVG
public static final BaseRendererBuilder.FSFontUseCase SVG
-
MATHML
public static final BaseRendererBuilder.FSFontUseCase MATHML
-
FALLBACK_PRE
public static final BaseRendererBuilder.FSFontUseCase FALLBACK_PRE
Use as a fallback font after all supplied fonts have been tried but before the built-in fonts have been attempted.
-
FALLBACK_FINAL
public static final BaseRendererBuilder.FSFontUseCase FALLBACK_FINAL
Use as a fallback fonts after all supplied fonts and the built-in fonts have been tried. The same font should not be registered with bothFALLBACK_PRE
andFALLBACK_FINAL
.
-
-
Method Detail
-
values
public static BaseRendererBuilder.FSFontUseCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BaseRendererBuilder.FSFontUseCase c : BaseRendererBuilder.FSFontUseCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseRendererBuilder.FSFontUseCase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-