|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specifies methods to zoom an image.
Method Summary | |
double |
getMagFactor()
Gets the magFactor property. |
void |
magnify(int magCenterX,
int magCenterY)
This method magnifies the image with (magCenterX, magCenterY) as the center of magnification. |
void |
magnify(int magCenterX,
int magCenterY,
double mag)
This method magnifies the image by mag with (magCenterX, magCenterY) as the center of magnification. |
void |
paintImage(int magCenterX,
int magCenterY,
double mag)
This method magnifies the image with (magCenterX, magCenterY) as the center of magnification. |
void |
setMagFactor(double magFactor)
Sets the magFactor property. |
Method Detail |
public void setMagFactor(double magFactor)
magFactor
- the magnification factor.public double getMagFactor()
public void magnify(int magCenterX, int magCenterY, double mag)
magCenterX
- the x coordiante of the mag center.magCenterY
- the y coordiante of the mag center.mag
- the mag factor.public void magnify(int magCenterX, int magCenterY)
magCenterX
- the x coordiante of the mag center.magCenterY
- the y coordiante of the mag center.public void paintImage(int magCenterX, int magCenterY, double mag)
magCenterX
- the x coordiante of the mag center.magCenterY
- the y coordiante of the mag center.mag
- the mag factor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |