|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.ObjectFlipLeftRight
FlipLeftRight - Flips the specified picture along the vertical axis.
| Constructor Summary | |
FlipLeftRight(Picture basePicture)
Constructs the new flipped picture based on the input picture |
|
| Method Summary | |
PictureColor |
getColor(int x,
int y)
This specifies the content of a picture by returning the color of the picture at each pixel (i.e., position). |
int |
getHeight()
|
int |
getWidth()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlipLeftRight(Picture basePicture)
basePicture - Input picture to be flipped| Method Detail |
public PictureColor getColor(int x,
int y)
Picture
getColor in interface Picturex - The column within the picturey - The row within the picture
public int getWidth()
getWidth in interface Picturepublic int getHeight()
getHeight in interface Picture
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||