接口 ImageCodeRenderer

所有已知实现类:
DefaultImageCodeRenderer

public interface ImageCodeRenderer
图片渲染器 Created by junxiang on 2019/8/2 0002
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    render(OutputStream os, String code, int width, int height)
    输出指定验证码图片流
  • 方法详细资料

    • render

      void render(OutputStream os, String code, int width, int height) throws IOException
      输出指定验证码图片流
      参数:
      os - 输出流
      code - 验证码值
      width - 验证码宽度
      height - 验证码高度
      抛出:
      IOException