Interface FontTypeFace


  • public interface FontTypeFace
    A bitmap Font in Jagex's format
    • Method Detail

      • getTextWidth

        int getTextWidth​(String text)
      • getBaseline

        int getBaseline()
      • drawWidgetText

        void drawWidgetText​(String text,
                            int x,
                            int y,
                            int width,
                            int height,
                            int rgb,
                            int shadowRGB,
                            int alpha,
                            int xTextAlignment,
                            int yTextAlignment,
                            int lineHeight)