org.riotfamily.website.txt2img
Class HyphenatedLineBreakMeasurerer
java.lang.Object
org.riotfamily.website.txt2img.HyphenatedLineBreakMeasurerer
public class HyphenatedLineBreakMeasurerer
- extends Object
Class similar to Java's LineBreakMeasurer
but with
support for soft hyphens.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HyphenatedLineBreakMeasurerer
public HyphenatedLineBreakMeasurerer(String text,
Font font,
Color color,
FontRenderContext fc)
hasNext
public boolean hasNext()
nextLayout
public TextLayout nextLayout(float wrappingWidth)