PixelsData

Inheritance: java.lang.Object

public final class PixelsData

The class to store image pixels data and its bounds.

Constructors

ConstructorDescription
PixelsData()Initializes a new instance of the PixelsData class.
PixelsData(int[] pixels, Rectangle bounds)Initializes a new instance of the PixelsData class.

Methods

MethodDescription
equals(Object arg0)
getBounds()Gets or sets the bounds of pixels data.
getClass()
getPixels()Gets or sets the pixels data.
hashCode()
notify()
notifyAll()
setBounds(Rectangle value)Gets or sets the bounds of pixels data.
setPixels(int[] value)Gets or sets the pixels data.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PixelsData()

public PixelsData()

Initializes a new instance of the PixelsData class.

PixelsData(int[] pixels, Rectangle bounds)

public PixelsData(int[] pixels, Rectangle bounds)

Initializes a new instance of the PixelsData class.

Parameters:

ParameterTypeDescription
pixelsint[]The pixels data.
boundsRectangleThe pixels bounds rectangle.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBounds()

public final Rectangle getBounds()

Gets or sets the bounds of pixels data.

Returns: Rectangle

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getPixels()

public final int[] getPixels()

Gets or sets the pixels data.

Returns: int[]

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBounds(Rectangle value)

public final void setBounds(Rectangle value)

Gets or sets the bounds of pixels data.

Parameters:

ParameterTypeDescription
valueRectangle

setPixels(int[] value)

public final void setPixels(int[] value)

Gets or sets the pixels data.

Parameters:

ParameterTypeDescription
valueint[]

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int