com.octo.captcha.component.image.textpaster.textdecorator
Class LineTextDecorator
java.lang.Object
com.octo.captcha.component.image.textpaster.textdecorator.LineTextDecorator
- All Implemented Interfaces:
- TextDecorator
Deprecated.
public class LineTextDecorator
- extends java.lang.Object
- implements TextDecorator
text paster that paint lines on the string You may specify the number of line per glyph : 3 by default. You may
specify the color of lines : white by default.
- Version:
- 1.0
- Author:
- Marc-Antoine Garrigue
- See Also:
{http://www.parc.xerox.com/research/istl/projects/captcha/default.html}
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineTextDecorator
public LineTextDecorator(java.lang.Integer numberOfLinesPerGlyph,
java.awt.Color linesColor)
- Deprecated.
- Parameters:
linesColor
- Color of the lines
LineTextDecorator
public LineTextDecorator(java.lang.Integer numberOfLinesPerGlyph,
ColorGenerator linesColorGenerator)
- Deprecated.
- Parameters:
numberOfLinesPerGlyph
- Number of lines around glypheslinesColorGenerator
- The colors for the lines
LineTextDecorator
public LineTextDecorator(java.lang.Integer numberOfLinesPerGlyph,
ColorGenerator linesColorGenerator,
java.lang.Integer alphaCompositeType)
- Deprecated.
- Parameters:
numberOfLinesPerGlyph
- Number of lines around glypheslinesColorGenerator
- The colors for the lines
decorateAttributedString
public void decorateAttributedString(java.awt.Graphics2D g2,
MutableAttributedString mutableAttributedString)
- Deprecated.
- Specified by:
decorateAttributedString
in interface TextDecorator
Copyright © 2003-2011 JCaptcha corp.. All Rights Reserved.