Package org.apache.batik.gvt.flow
Class FlowRegions
- java.lang.Object
-
- org.apache.batik.gvt.flow.FlowRegions
-
public class FlowRegions extends java.lang.ObjectA class to hold flow region information for a given shape.- Version:
- $Id: FlowRegions.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classFlowRegions.Transition(package private) static classFlowRegions.TransitionComp
-
Field Summary
Fields Modifier and Type Field Description (package private) intcurrentRange(package private) doublecurrentY(package private) java.awt.ShapeflowShape(package private) doublelineHeight(package private) SegmentListsl(package private) SegmentList.SplitResultssr(package private) java.util.ListvalidRanges
-
Constructor Summary
Constructors Constructor Description FlowRegions(java.awt.Shape s)FlowRegions(java.awt.Shape s, double startY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Field Detail
-
flowShape
java.awt.Shape flowShape
-
sl
SegmentList sl
-
sr
SegmentList.SplitResults sr
-
validRanges
java.util.List validRanges
-
currentRange
int currentRange
-
currentY
double currentY
-
lineHeight
double lineHeight
-
-
Method Detail
-
getCurrentY
public double getCurrentY()
-
getLineHeight
public double getLineHeight()
-
gotoY
public boolean gotoY(double y)
-
newLineHeight
public void newLineHeight(double lineHeight)
-
getNumRangeOnLine
public int getNumRangeOnLine()
-
resetRange
public void resetRange()
-
nextRange
public double[] nextRange()
-
endLine
public void endLine()
-
newLine
public boolean newLine()
-
newLine
public boolean newLine(double lineHeight)
-
newLineAt
public boolean newLineAt(double y, double lineHeight)
-
done
public boolean done()
-
sortRow
public void sortRow(SegmentList sl)
-
-