|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--Reflect
Reflect is an algorithm to reflect an image about an axis
code.iface.reflect| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
Reflect()
|
|
| Method Summary | |
int[] |
reflect_image(int[] src,
int width,
int height,
int x,
int y,
double angle,
boolean wrap)
Reflects the input image by the specified angle. |
| Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
run,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Reflect()
| Method Detail |
public int[] reflect_image(int[] src,
int width,
int height,
int x,
int y,
double angle,
boolean wrap)
src - The input pixel arraywidth - The width of the input imageheight - The height of the input imagex - The x co-ordiante used to find the reflection axisy - The y co-ordinate used to find the reflection axisangle - The angle of the reflection axiswrap - Boolean which determines if the reflected image is wrapped around
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||