Package org.apache.batik.ext.awt.geom
Class SegmentList
- java.lang.Object
-
- org.apache.batik.ext.awt.geom.SegmentList
-
public class SegmentList extends java.lang.Object
A class representing a list of path segments.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SegmentList.SplitResults
read-only helper class to represent a split-result.
-
Constructor Summary
Constructors Constructor Description SegmentList()
SegmentList(java.awt.Shape s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Segment s)
java.awt.geom.Rectangle2D
getBounds2D()
java.util.Iterator
iterator()
int
size()
SegmentList.SplitResults
split(double y)
-
-
-
Method Detail
-
getBounds2D
public java.awt.geom.Rectangle2D getBounds2D()
-
add
public void add(Segment s)
-
iterator
public java.util.Iterator iterator()
-
size
public int size()
-
split
public SegmentList.SplitResults split(double y)
-
-