Class FontParser

java.lang.Object
com.github.weisj.jsvg.attributes.font.FontParser

public final class FontParser extends Object
  • Constructor Details

    • FontParser

      private FontParser()
  • Method Details

    • parseFontSpec

      @NotNull public static @NotNull AttributeFontSpec parseFontSpec(@NotNull @NotNull AttributeNode node)
    • stripQuotes

      @NotNull private static @NotNull String stripQuotes(@NotNull @NotNull String str, char quoteChar)
    • canonicalizeFontFamily

      private static void canonicalizeFontFamily(@NotNull @NotNull String[] fontFamilies)
    • parseWeight

      @Nullable public static @Nullable FontWeight parseWeight(@NotNull @NotNull AttributeNode node)
    • parseStretch

      @NotNull public static @NotNull Percentage 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 static @Nullable FontStyle parseFontStyle(@NotNull @NotNull AttributeNode node)