Interface ITextRender


public interface ITextRender
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(net.minecraft.client.gui.DrawContext context)
     
    double
    getHeight(boolean shadow)
     
    double
    getWidth(String text, boolean shadow)
     
    double
    render(String text, double x, double y, ClientColor color, float opacity, boolean shadow)
     
    void
    start(TextType type, double scale)
     
    void
    start(TextType type, double scale, boolean measureMode)
     
  • Method Details

    • start

      void start(TextType type, double scale)
    • start

      void start(TextType type, double scale, boolean measureMode)
    • draw

      void draw(net.minecraft.client.gui.DrawContext context)
    • render

      double render(String text, double x, double y, ClientColor color, float opacity, boolean shadow)
    • getWidth

      double getWidth(String text, boolean shadow)
    • getHeight

      double getHeight(boolean shadow)