Enum BaseRendererBuilder.FSFontUseCase
- java.lang.Object
-
- java.lang.Enum<BaseRendererBuilder.FSFontUseCase>
-
- com.openhtmltopdf.outputdevice.helper.BaseRendererBuilder.FSFontUseCase
-
- All Implemented Interfaces:
Serializable,Comparable<BaseRendererBuilder.FSFontUseCase>
- Enclosing class:
- BaseRendererBuilder<TFinalClass extends BaseRendererBuilder,TBaseRendererBuilderState extends BaseRendererBuilder.BaseRendererBuilderState>
public static enum BaseRendererBuilder.FSFontUseCase extends Enum<BaseRendererBuilder.FSFontUseCase>
Use cases for fonts.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOCUMENTMain document (PDF or Java2D)FALLBACK_FINALUse as a fallback fonts after all supplied fonts and the built-in fonts have been tried.FALLBACK_PREUse as a fallback font after all supplied fonts have been tried but before the built-in fonts have been attempted.MATHMLSVG
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseRendererBuilder.FSFontUseCasevalueOf(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_PREandFALLBACK_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(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-