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.ObjectA class representing a list of path segments.- Version:
- $Id: SegmentList.java 1804130 2017-08-04 14:41:11Z ssteiner $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegmentList.SplitResultsread-only helper class to represent a split-result.
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Listsegments
-
Constructor Summary
Constructors Constructor Description SegmentList()SegmentList(java.awt.Shape s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Segment s)java.awt.geom.Rectangle2DgetBounds2D()java.util.Iteratoriterator()intsize()SegmentList.SplitResultssplit(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)
-
-