Draw2D v2.0

org.eclipse.draw2d.geometry
Interface Translatable

All Known Implementing Classes:
Point, Rectangle

public interface Translatable

A translatable object can be translated (or moved) vertically and/or horizontally.


Method Summary
 void performScale(float factor)
          Scales this object by the scale factor.
 void performTranslate(int dx, int dy)
          Translates this object horizontally by dx and vertically by dy.
 

Method Detail

performTranslate

public void performTranslate(int dx,
                             int dy)
Translates this object horizontally by dx and vertically by dy.
Since:
2.0

performScale

public void performScale(float factor)
Scales this object by the scale factor.
Since:
2.0

Draw2D v2.0