org.apache.batik.gvt.flow

Class FlowRegions

public class FlowRegions extends Object

A class to hold flow region information for a given shape.
Constructor Summary
FlowRegions(Shape s)
FlowRegions(Shape s, double startY)
Method Summary
booleandone()
voidendLine()
doublegetCurrentY()
doublegetLineHeight()
intgetNumRangeOnLine()
booleangotoY(double y)
booleannewLine()
booleannewLine(double lineHeight)
booleannewLineAt(double y, double lineHeight)
voidnewLineHeight(double lineHeight)
double[]nextRange()
voidresetRange()
voidsortRow(SegmentList sl)

Constructor Detail

FlowRegions

public FlowRegions(Shape s)

FlowRegions

public FlowRegions(Shape s, double startY)

Method Detail

done

public boolean done()

endLine

public void endLine()

getCurrentY

public double getCurrentY()

getLineHeight

public double getLineHeight()

getNumRangeOnLine

public int getNumRangeOnLine()

gotoY

public boolean gotoY(double y)

newLine

public boolean newLine()

newLine

public boolean newLine(double lineHeight)

newLineAt

public boolean newLineAt(double y, double lineHeight)

newLineHeight

public void newLineHeight(double lineHeight)

nextRange

public double[] nextRange()

resetRange

public void resetRange()

sortRow

public void sortRow(SegmentList sl)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.