|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.image.Kernel
ConvolveOp
Constructor Summary | |
Kernel(int width,
int height,
float[] data)
Constructs a Kernel object from an array of floats. |
Method Summary | |
Object | clone()
Clones this object. |
int | getHeight()
Returns the height. |
float[] | getKernelData(float[] data)
Returns the kernel data in row major order. |
int | getWidth()
Returns the width. |
int | getXOrigin()
Returns the X origin. |
int | getYOrigin()
Returns the Y origin. |
Methods inherited from class java.lang.Object | |
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Constructor Detail |
public Kernel(int width, int height, float[] data)
width
- Width of the kernel.
height
- Height of the kernel.
data
- Kernel data in row major order.Method Detail |
public final int getXOrigin()
public final int getYOrigin()
public final int getWidth()
public final int getHeight()
public final float[] getKernelData(float[] data)
data
- If non-null, will contain the returned kernel data.public Object clone()
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |