Enum Class BaseRendererBuilder.FSFontUseCase
java.lang.Object
java.lang.Enum<BaseRendererBuilder.FSFontUseCase>
com.openhtmltopdf.outputdevice.helper.BaseRendererBuilder.FSFontUseCase
- All Implemented Interfaces:
Serializable
,Comparable<BaseRendererBuilder.FSFontUseCase>
,Constable
- Enclosing class:
BaseRendererBuilder<TFinalClass extends BaseRendererBuilder,
TBaseRendererBuilderState extends BaseRendererBuilder.BaseRendererBuilderState>
public static enum BaseRendererBuilder.FSFontUseCase
extends Enum<BaseRendererBuilder.FSFontUseCase>
Use cases for fonts.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMain document (PDF or Java2D)Use as a fallback fonts after all supplied fonts and the built-in fonts have been tried.Use as a fallback font after all supplied fonts have been tried but before the built-in fonts have been attempted. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BaseRendererBuilder.FSFontUseCase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOCUMENT
Main document (PDF or Java2D) -
SVG
-
MATHML
-
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
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
.
-
-
Constructor Details
-
FSFontUseCase
private FSFontUseCase()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-