Class RenderUtil

java.lang.Object
com.mrbysco.captcha.client.screen.text.RenderUtil

public class RenderUtil extends Object
  • Constructor Details

    • RenderUtil

      public RenderUtil()
  • Method Details

    • generateCaptchaTexture

      public static net.minecraft.client.renderer.texture.DynamicTexture generateCaptchaTexture(String str, int width, int height) throws IOException
      Generate a DynamicTexture that is a 200x40 image of the given string on a white background but the text is distorted similar to a text captcha. return DynamicTexture
      Throws:
      IOException