Class ChartizateFontManagerImpl

  • All Implemented Interfaces:
    org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface>

    public class ChartizateFontManagerImpl
    extends org.jesperancinha.chartizate.ChartizateFontManagerAbstract<android.graphics.Typeface>
    implements org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface>
    • Constructor Detail

      • ChartizateFontManagerImpl

        public ChartizateFontManagerImpl​(java.lang.String fontString,
                                         int fontSize)
    • Method Detail

      • getAllFontTypes

        public static java.util.List<java.lang.String> getAllFontTypes()
      • getCharacterWidth

        public int getCharacterWidth​(char c)
        Specified by:
        getCharacterWidth in interface org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface>
        Specified by:
        getCharacterWidth in class org.jesperancinha.chartizate.ChartizateFontManagerAbstract<android.graphics.Typeface>
      • getCharacterHeight

        public int getCharacterHeight​(char c)
        Specified by:
        getCharacterHeight in interface org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface>
        Specified by:
        getCharacterHeight in class org.jesperancinha.chartizate.ChartizateFontManagerAbstract<android.graphics.Typeface>
      • getFont

        public android.graphics.Typeface getFont()
        Specified by:
        getFont in interface org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface>
        Specified by:
        getFont in class org.jesperancinha.chartizate.ChartizateFontManagerAbstract<android.graphics.Typeface>
      • getFontSize

        public int getFontSize()
        Specified by:
        getFontSize in interface org.jesperancinha.chartizate.ChartizateFontManager<android.graphics.Typeface>
        Specified by:
        getFontSize in class org.jesperancinha.chartizate.ChartizateFontManagerAbstract<android.graphics.Typeface>