public static enum FormulaRenderer.FontSize extends Enum<FormulaRenderer.FontSize>
Enum Constant and Description |
---|
EXTREMELY_HUGE
The largest defined font size.
|
HUGE
The largest defined font size.
|
LARGE
Slightly larger font size.
|
LARGER
Large font size.
|
NORMAL
Normal font size.
|
SMALL
Small text.
|
SMALLER
Footnote size.
|
TINY
Script size.
|
VERY_LARGE
Very large.
|
VERY_SMALL
Footnote size.
|
Modifier and Type | Field and Description |
---|---|
static FormulaRenderer.FontSize |
DEFAULT
The default font size.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Access to the LateX command that sets this font size.
|
int |
getSize()
Access to the actual font size.
|
static FormulaRenderer.FontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormulaRenderer.FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormulaRenderer.FontSize TINY
public static final FormulaRenderer.FontSize VERY_SMALL
public static final FormulaRenderer.FontSize SMALLER
public static final FormulaRenderer.FontSize SMALL
public static final FormulaRenderer.FontSize NORMAL
public static final FormulaRenderer.FontSize LARGE
public static final FormulaRenderer.FontSize LARGER
public static final FormulaRenderer.FontSize VERY_LARGE
public static final FormulaRenderer.FontSize HUGE
public static final FormulaRenderer.FontSize EXTREMELY_HUGE
public static final FormulaRenderer.FontSize DEFAULT
public static FormulaRenderer.FontSize[] values()
for (FormulaRenderer.FontSize c : FormulaRenderer.FontSize.values()) System.out.println(c);
public static FormulaRenderer.FontSize 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 getSize()
public String getCommand()
Copyright © 2004–2021 XWiki. All rights reserved.