edu.mit.sketch.toolkit
Interface StrokeDataFactory

All Known Implementing Classes:
StrokeDataReader

public interface StrokeDataFactory

Objects which take a sequence of input vertices and instantiates a StrokeData object should implement this interface.


Method Summary
 void addPoint(Point point)
          Add a point
 StrokeData getStrokeData()
          Throws an array index out of bound exception if more points than the max_data_points are added.
 

Method Detail

addPoint

public void addPoint(Point point)
Add a point

getStrokeData

public StrokeData getStrokeData()
Throws an array index out of bound exception if more points than the max_data_points are added.