java.awt.font
Class LineBreakMeasurer
java.lang.Object
java.awt.font.LineBreakMeasurer
public final class LineBreakMeasurer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineBreakMeasurer
public LineBreakMeasurer(AttributedCharacterIterator text,
BreakIterator breakIter,
FontRenderContext frc)
LineBreakMeasurer
public LineBreakMeasurer(AttributedCharacterIterator text,
FontRenderContext frc)
deleteChar
public void deleteChar(AttributedCharacterIterator newParagraph,
int deletePos)
insertChar
public void insertChar(AttributedCharacterIterator newParagraph,
int insertPos)
nextLayout
public TextLayout nextLayout(float wrappingWidth)
nextLayout
public TextLayout nextLayout(float wrappingWidth,
int offsetLimit,
boolean requireNextWord)
nextOffset
public int nextOffset(float wrappingWidth)
nextOffset
public int nextOffset(float wrappingWidth,
int offsetLimit,
boolean requireNextWord)
setPosition
public void setPosition(int newPosition)
getPosition
public int getPosition()