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 java.lang.Object
      implements KaptchaProducer

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.awt.image.BufferedImage` | `createImage​(java.lang.String text)` |
    `java.lang.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​(java.util.Map<java.lang.String,​java.lang.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 java.awt.image.BufferedImage createImage​(java.lang.String text)

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

    - #### createText

          public java.lang.String createText()

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