public class PositionableImpl extends Object implements Positionable
| Constructor and Description |
|---|
PositionableImpl(double x,
double y,
Dimension2D dim) |
PositionableImpl(Point2D pt,
Dimension2D dim) |
| Modifier and Type | Method and Description |
|---|---|
Point2D |
getPosition() |
Dimension2D |
getSize() |
void |
moveSvek(double deltaX,
double deltaY) |
public PositionableImpl(double x,
double y,
Dimension2D dim)
public PositionableImpl(Point2D pt, Dimension2D dim)
public Point2D getPosition()
getPosition in interface Positionablepublic Dimension2D getSize()
getSize in interface PositionableCopyright © 2017. All Rights Reserved.