public class ReflowState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected LineSpanBreak |
lastBreak |
float |
lineWidth |
Constructor and Description |
---|
ReflowState(LineSpan span,
float lineWidth) |
ReflowState(ReflowState state) |
ReflowState(ReflowState state,
boolean debug) |
ReflowState(ReflowState state,
LineSpan span) |
Modifier and Type | Method and Description |
---|---|
void |
breakLine(boolean whitespace,
TextLine ld) |
void |
breakLineAfterImage() |
void |
carrierReturn(TextLine ld) |
void |
directionSwitchBreak() |
void |
doSkipWhitespaces(char[] text) |
ReflowState |
finish() |
void |
increaseBreak(float width) |
void |
increaseBreak(float width,
float realWidth) |
ReflowState |
nonLetterBreak(boolean strong) |
void |
rollback(int breakPosition) |
java.lang.String |
toString() |
protected LineSpanBreak lastBreak
public float lineWidth
public ReflowState(LineSpan span, float lineWidth)
public ReflowState(ReflowState state, boolean debug)
public ReflowState(ReflowState state)
public ReflowState(ReflowState state, LineSpan span)
public void carrierReturn(TextLine ld)
public void breakLine(boolean whitespace, TextLine ld)
public ReflowState nonLetterBreak(boolean strong)
public void directionSwitchBreak()
public ReflowState finish()
public void increaseBreak(float width)
public void increaseBreak(float width, float realWidth)
public void rollback(int breakPosition)
public void doSkipWhitespaces(char[] text)
public java.lang.String toString()
toString
in class java.lang.Object
public void breakLineAfterImage()