373839404142434445464748
public CaptchaBean build() { // Add and render the text if (_txtProd != null) { _answer += _txtProd.getText(); WordRenderer wr = new DefaultWordRenderer(); wr.render(_answer, _img); } if (_noiseProd != null) { _noiseProd.makeNoise(_img); }
116117118119120121122
* * @param txtProd * @return */ public Builder addText(TextProducer txtProd) { return addText(txtProd, new DefaultWordRenderer()); }