Class FontParser
- java.lang.Object
-
- com.github.weisj.jsvg.attributes.font.FontParser
-
public final class FontParser extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FontParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable FontSize
parseFontSize(@NotNull AttributeNode node)
static @NotNull AttributeFontSpec
parseFontSpec(@NotNull AttributeNode node)
static @Nullable FontStyle
parseFontStyle(@NotNull AttributeNode node)
static @Nullable Length
parseSizeAdjust(@NotNull AttributeNode node)
static float
parseStretch(@NotNull AttributeNode node)
static @Nullable FontWeight
parseWeight(@NotNull AttributeNode node)
-
-
-
Method Detail
-
parseFontSpec
@NotNull public static @NotNull AttributeFontSpec parseFontSpec(@NotNull @NotNull AttributeNode node)
-
parseWeight
@Nullable public static @Nullable FontWeight parseWeight(@NotNull @NotNull AttributeNode node)
-
parseStretch
public static float parseStretch(@NotNull @NotNull AttributeNode node)
-
parseFontSize
@Nullable public static @Nullable FontSize parseFontSize(@NotNull @NotNull AttributeNode node)
-
parseSizeAdjust
@Nullable public static @Nullable Length parseSizeAdjust(@NotNull @NotNull AttributeNode node)
-
parseFontStyle
@Nullable public static @Nullable FontStyle parseFontStyle(@NotNull @NotNull AttributeNode node)
-
-