|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Projector2D extends Projector
2D projector maps Point2D objects into the specified projection area by scaling.
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
getViewableArea()
Returns viewable area for projector. |
Point2D |
projectBack(java.awt.Point pt)
Projects the specified 2-dimensional point back into normalized point. |
Point2D |
projectBack(java.awt.Point pt,
Point2D pt2D)
Projects the specified 2-dimensional point back into normalized point. |
void |
setViewableArea(Rectangle2D viewableArea)
Sets viewable area for projector: (0.0, 0.0, 1.0, 1.0) visible full chart. |
| Methods inherited from interface lt.monarch.chart.engine.Projector |
|---|
clone, getProjectionArea, getProjectionAreaReference, prepare, project, project, project, setProjectionArea |
| Method Detail |
|---|
Point2D projectBack(java.awt.Point pt)
pt - the point to project
Point2D projectBack(java.awt.Point pt,
Point2D pt2D)
Point2D template is used to avoid unnecessary object
creation.
pt - the point to projectpt2D - Point2D template to write back-projection results tovoid setViewableArea(Rectangle2D viewableArea)
viewableArea - projector viewable areaRectangle2D getViewableArea()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||