PixelsData
Contents
[
Hide
]Inheritance: java.lang.Object
public final class PixelsData
The class to store image pixels data and its bounds.
Constructors
Constructor | Description |
---|---|
PixelsData() | Initializes a new instance of the PixelsData class. |
PixelsData(int[] pixels, Rectangle bounds) | Initializes a new instance of the PixelsData class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
pixels | int[] | The pixels data. |
bounds | Rectangle | The pixels bounds rectangle. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | Rectangle |
setPixels(int[] value)
public final void setPixels(int[] value)
Gets or sets the pixels data.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int[] |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |