| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectbookExamples.ch26Graphics.draw2d.Coords
public class Coords
| Constructor Summary | |
|---|---|
| Coords() | |
| Method Summary | |
|---|---|
| static int[] | scaleCoords(int srcW,
            int srcH,
            int destW,
            int destH) | 
| static int[] | translateCoords(int startX,
                int startY,
                int endX,
                int endY) | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Coords()
| Method Detail | 
|---|
public static int[] translateCoords(int startX,
                                    int startY,
                                    int endX,
                                    int endY)
public static int[] scaleCoords(int srcW,
                                int srcH,
                                int destW,
                                int destH)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||