| Modifier and Type | Class and Description |
|---|---|
| public static record | RenderSupport.
A run fragment with a relative size factor (used for small-caps emulation). |
| Modifier and Type | Field and Description |
|---|---|
| private static final double[] | HEADING_SCALE
Font scale per heading level ( |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static @Nullable ImageView | createImageView(Inline.
Creates a sized |
| public static double | |
| public static Optional | |
| private static RenderSupport. | |
| public static List | splitForSmallCaps(String text, InlineStyle style)
Small-caps emulation: lowercase stretches are rendered as smaller capitals. |
| public static String |
| HEADING_SCALE | back to summary |
|---|---|
| private static final double[] HEADING_SCALE Font scale per heading level ( | |
| RenderSupport | back to summary |
|---|---|
| private RenderSupport() | |
| allowedImageSource | back to summary |
|---|---|
| private static boolean allowedImageSource(String source, HtmlRenderOptions options) | |
| createImageView | back to summary |
|---|---|
| public static @Nullable ImageView createImageView(Inline. Creates a sized | |
| headingScale | back to summary |
|---|---|
| public static double headingScale(int level) | |
| parseColor | back to summary |
|---|---|
| public static Optional | |
| piece | back to summary |
|---|---|
| private static RenderSupport. | |
| splitForSmallCaps | back to summary |
|---|---|
| public static List Small-caps emulation: lowercase stretches are rendered as smaller capitals. | |
| toCssColor | back to summary |
|---|---|
| public static String toCssColor(Color color) | |
| Modifier and Type | Field and Description |
|---|---|
| private final double | sizeFactor
Record Component accessed by sizeFactor(). |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public double | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| sizeFactor | back to summary |
|---|---|
| private final double sizeFactor Record Component accessed by sizeFactor(). | |
| text | back to summary |
|---|---|
| private final String text Record Component accessed by text(). | |
| TextPiece | back to summary |
|---|---|
| public TextPiece(String text, double sizeFactor) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| sizeFactor | back to summary |
|---|---|
| public double sizeFactor() Record Component getter of sizeFactor. | |
| text | back to summary |
|---|---|
| public String text() Record Component getter of text. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |