myshapes2
Interface Centered

All Known Implementing Classes:
CenteredCircle, CenteredRectangle, CenteredSquare

public interface Centered

An interface for centered objects
see Java in a Nutshell, 3rd Edition, chapter 3

Version:
Vorlesung InfoB SS 02
Author:
Ute Schmid

Method Summary
 double getCenterX()
           
 double getCenterY()
           
 void setCenter(double x, double y)
           
 

Method Detail

setCenter

public void setCenter(double x,
                      double y)

getCenterX

public double getCenterX()

getCenterY

public double getCenterY()