public interface ILcd2DEditableShape extends ILcdShape
ILcd2DEditableShape
is an ILcdShape
that can be moved in two dimensions.Modifier and Type | Method and Description |
---|---|
void |
move2D(double aX,
double aY)
Moves this
ILcd2DEditableShape to the given point in the 2D space. |
void |
move2D(ILcdPoint aPoint)
Moves this
ILcd2DEditableShape to the given point in the 2D space. |
void |
translate2D(double aDeltaX,
double aDeltaY)
Translates this
ILcd2DEditableShape from its current position over the given translation
vector in the 2D space. |
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
void move2D(ILcdPoint aPoint)
ILcd2DEditableShape
to the given point in the 2D space. The focus point
is used as the handle by which the shape is moved. Only the first
two dimensions of the ILcdShape
and the ILcdPoint
are considered.
The third dimension is left unchanged.aPoint
- the ILcdPoint
to move to.move2D(double, double)
void move2D(double aX, double aY)
ILcd2DEditableShape
to the given point in the 2D space. The focus point
is used as the handle by which the shape is moved. Only the first
two dimensions of the ILcdShape
are considered.
The third dimension is left unchanged.aX
- the x coordinate of the point.aY
- the y coordinate of the point.void translate2D(double aDeltaX, double aDeltaY)
ILcd2DEditableShape
from its current position over the given translation
vector in the 2D space. Only the first two dimensions of the ILcdShape
are considered.
The third dimension is left unchanged.aDeltaX
- the x coordinate of the translation vector.aDeltaY
- the y coordinate of the translation vector.