|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.geom.RectangleBoundsStrategy
public class RectangleBoundsStrategy
A bounds strategy that calculates a rectangular bounding polygon around a
set of Shapes.
Shape| Constructor Summary | |
|---|---|
RectangleBoundsStrategy()
Creates a new rectangle bounds strategy. |
|
| Method Summary | |
|---|---|
void |
addShape(Shape s)
Adds a set of points to the bounds. |
Shape |
getBounds()
Gets the accumulated bounds. |
void |
resetBounds()
Resets the bounds. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RectangleBoundsStrategy()
| Method Detail |
|---|
public void addShape(Shape s)
addShape in interface BoundsStrategys - the set of points to addShapepublic void resetBounds()
resetBounds in interface BoundsStrategypublic Shape getBounds()
getBounds in interface BoundsStrategyBoundsStrategy.addShape(Shape)
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||