|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.insightful.gdevice.SCanvasPoint
public class SCanvasPoint
An SCanvasPoint object represents a point within a virtual SCanvas. It is represented relative to the virtual graphsheet, so it represents the same point, no matter how the SCanvas is scrolled or resized.
Constructor Summary | |
---|---|
SCanvasPoint(float x,
float y)
|
Method Summary | |
---|---|
float |
getX()
Returns the x-coordinate. |
int |
getX(SCanvasAWT canvas)
Returns the x-coordinate of the point in the virtual graphsheet of the given SCanvas. |
float |
getY()
Returns the y-coordinate. |
int |
getY(SCanvasAWT canvas)
Return the y-coordinate of the point in the virtual graphsheet of the given SCanvas. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCanvasPoint(float x, float y)
Method Detail |
---|
public float getX()
public float getY()
public int getX(SCanvasAWT canvas)
public int getY(SCanvasAWT canvas)
|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |