public class WarpImageFigure extends AbstractFigure
Constructor and Description |
---|
WarpImageFigure(Image img) |
Modifier and Type | Method and Description |
---|---|
Shape |
getShape()
Get the outline shape of this figure.
|
void |
paint(Graphics2D g2)
Paint the figure.
|
void |
reset(int w,
int h) |
void |
step(int w,
int h) |
void |
transform(AffineTransform t)
Transform the figure with the supplied transform.
|
void |
translate(double dx,
double dy)
Move the figure the indicated distance.
|
contains, getBounds, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, hit, intersects, isVisible, paint, repaint, repaint, setInteractor, setParent, setToolTipText, setUserObject, setVisible
public WarpImageFigure(Image img)
public void reset(int w, int h)
public void step(int w, int h)
public void paint(Graphics2D g2)
AbstractFigure
paint
in interface VisibleComponent
paint
in class AbstractFigure
public Shape getShape()
AbstractFigure
getShape
in interface Figure
getShape
in class AbstractFigure
public void transform(AffineTransform t)
AbstractFigure
transform
in interface Figure
transform
in class AbstractFigure
public void translate(double dx, double dy)
AbstractFigure
translate
in interface Figure
translate
in class AbstractFigure
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.