|
PenProfile 2.x | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Shape | |
|---|---|
| com.livescribe.geom | |
| com.livescribe.penlet | This package consists of classes and interfaces that are core to pen application development. |
| Uses of Shape in com.livescribe.geom |
|---|
| Subclasses of Shape in com.livescribe.geom | |
|---|---|
class |
Ellipse
This class describes an ellipse with the upper left and lower right points. |
class |
LineSegment
This class describes a line segment with the upper left and lower right points. |
class |
Point
This class describes a point in cartesian space. |
class |
Polygon
This class describes a polygon. |
class |
PolyLine
This class describes a multi-segment line, or polyline. |
class |
Rectangle
This class describes a rectangle by using the upper left and lower right points. |
class |
Stroke
This class describes a stroke, or series of points. |
| Methods in com.livescribe.geom that return Shape | |
|---|---|
Shape |
BoundsStrategy.getBounds()
Gets the accumulated bounds. |
Shape |
OctagonBoundsStrategy.getBounds()
Gets the accumulated bounds. |
Shape |
RectangleBoundsStrategy.getBounds()
Gets the accumulated bounds. |
| Methods in com.livescribe.geom with parameters of type Shape | |
|---|---|
void |
BoundsStrategy.addShape(Shape s)
Adds a set of points to the bounds. |
void |
OctagonBoundsStrategy.addShape(Shape s)
Adds a set of points to the bounds. |
void |
RectangleBoundsStrategy.addShape(Shape s)
Adds a set of points to the bounds. |
static Rectangle |
Shape.getUnion(Shape a,
Shape b)
Finds the smallest possible rectangle that contains both shapes. |
int |
Shape.intersectsWith(Shape shape)
Detects any intersection between the this shape and the given shape. |
| Uses of Shape in com.livescribe.penlet |
|---|
| Methods in com.livescribe.penlet that return Shape | |
|---|---|
Shape |
RegionCollection.getShape(Region region)
Lets the user obtain a Shape object that corresponds to the
region stored by the system. |
| Methods in com.livescribe.penlet with parameters of type Shape | |
|---|---|
Region |
RegionCollection.addBitmapRegion(Shape shape,
Region region,
int cellWidth,
int cellHeight)
Adds a Bitmap region to the current page. |
Region |
RegionCollection.addRegion(Shape shape,
Region region)
Adds a region to this collection and maps the given physical shape to the added region. |
Region |
RegionCollection.addRegion(Shape shape,
Region region,
boolean storeStrokes)
Deprecated. Use RegionCollection.addRegion(Shape, Region). |
boolean |
RegionCollection.isOverlappingExistingArea(Shape shape)
Deprecated. use RegionCollection.isOverlappingExistingRegion(Shape) |
boolean |
RegionCollection.isOverlappingExistingRegion(Shape shape)
Checks whether the supplied Shape object overlaps any region
present in this collection. |
|
PenProfile 2.x | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||