moagg.util
Class ArrayTool
java.lang.Object
moagg.util.ArrayTool
public class ArrayTool
- extends java.lang.Object
Method Summary |
static void |
copy(int[] src,
int sw,
Rectangle sr,
int[] dst,
int dw,
Point dp)
src sw dst dw
. . . . . => . . . . . .
. sr--+ . . . dp--+ .
. +---+ . . . +---+ .
. . . . . . . . . . .
. . . . . . |
static void |
copyNonAlphaPixels(int[] src,
int sw,
int[] dst,
int dw,
Point dp)
src sw dst dw
. . . . => . . . . . .
. . . . . dp----+ .
. . . . . | . . + .
. +-----+ .
. . . . . . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayTool
public ArrayTool()
copy
public static void copy(int[] src,
int sw,
Rectangle sr,
int[] dst,
int dw,
Point dp)
- src sw dst dw
. . . . . => . . . . . .
. sr--+ . . . dp--+ .
. +---+ . . . +---+ .
. . . . . . . . . . .
. . . . . .
copyNonAlphaPixels
public static void copyNonAlphaPixels(int[] src,
int sw,
int[] dst,
int dw,
Point dp)
- src sw dst dw
. . . . => . . . . . .
. . . . . dp----+ .
. . . . . | . . + .
. +-----+ .
. . . . . .
Copyright © 2008. All Rights Reserved.