Package org.apache.tapestry5.kaptcha.internal.services

## Class KaptchaProducerImpl

- java.lang.Object
- - org.apache.tapestry5.kaptcha.internal.services.KaptchaProducerImpl

- All Implemented Interfaces:
    `com.google.code.kaptcha.Producer`, `KaptchaProducer`

      public class KaptchaProducerImpl
      extends Object
      implements KaptchaProducer

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `KaptchaProducerImpl​(Map<String,​String> configuration)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BufferedImage` | `createImage​(String text)` |
    `String` | `createText()` |
    `int` | `getHeight()` |
    `int` | `getWidth()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KaptchaProducerImpl

          public KaptchaProducerImpl​(Map<String,​String> configuration)

  - ### Method Detail

    - #### getHeight

          public int getHeight()

      Specified by:
        `getHeight` in interface `KaptchaProducer`

    - #### getWidth

          public int getWidth()

      Specified by:
        `getWidth` in interface `KaptchaProducer`

    - #### createImage

          public BufferedImage createImage​(String text)

      Specified by:
        `createImage` in interface `com.google.code.kaptcha.Producer`

    - #### createText

          public String createText()

      Specified by:
        `createText` in interface `com.google.code.kaptcha.Producer`