org.apache.batik.ext.awt.geom

Class SegmentList

public class SegmentList extends Object

A class representing a list of path segments.
Nested Class Summary
static classSegmentList.SplitResults
read-only helper class to represent a split-result.
Constructor Summary
SegmentList()
SegmentList(Shape s)
Method Summary
voidadd(Segment s)
Rectangle2DgetBounds2D()
Iteratoriterator()
intsize()
SegmentList.SplitResultssplit(double y)

Constructor Detail

SegmentList

public SegmentList()

SegmentList

public SegmentList(Shape s)

Method Detail

add

public void add(Segment s)

getBounds2D

public Rectangle2D getBounds2D()

iterator

public Iterator iterator()

size

public int size()

split

public SegmentList.SplitResults split(double y)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.