ByteBitmap
Inheritance: java.lang.Object
public class ByteBitmap
Constructors
Fields
Field | Description |
---|---|
BlackColor | |
Data | |
Height | |
MaxColor | |
WhiteColor | |
Width |
Methods
Method | Description |
---|---|
deepClone() | |
equals(Object arg0) | |
getClass() | |
getPixelFast(ShortPoint point) | Return color (skip validation) |
getPixelFast(System.Drawing.Point point) | Return color (skip validation) |
getPixelFast(int x, int y) | Return color (skip validation) |
getPixelSafe(System.Drawing.Point point) | |
getPixelSafe(int x, int y) | |
getPixelSafe(int x, int y, byte aDef) | |
get_Item(ShortPoint point) | |
get_Item(System.Drawing.Point point) | |
get_Item(int x, int y) | |
hashCode() | |
notify() | |
notifyAll() | |
save(String path) | |
saveBinarized(String path) | |
setPixelFast(ShortPoint point, byte data) | Set color (skip validation) |
setPixelFast(System.Drawing.Point point, byte data) | Set color (skip validation) |
setPixelFast(int x, int y, byte data) | Set color (skip validation) |
setPixelSafe(int x, int y, byte data) | |
set_Item(ShortPoint point, byte value) | |
set_Item(System.Drawing.Point point, byte value) | |
set_Item(int x, int y, byte value) | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ByteBitmap(int width, int height)
public ByteBitmap(int width, int height)
Parameters:
Parameter | Type | Description |
---|---|---|
width | int | |
height | int |
ByteBitmap(int width, int height, byte defaultValue)
public ByteBitmap(int width, int height, byte defaultValue)
Parameters:
Parameter | Type | Description |
---|---|---|
width | int | |
height | int | |
defaultValue | byte |
ByteBitmap(int width, int height, byte[] data)
public ByteBitmap(int width, int height, byte[] data)
Parameters:
Parameter | Type | Description |
---|---|---|
width | int | |
height | int | |
data | byte[] |
ByteBitmap(ByteBitmap bitmap)
public ByteBitmap(ByteBitmap bitmap)
Parameters:
Parameter | Type | Description |
---|---|---|
bitmap | ByteBitmap |
ByteBitmap(byte[][] byteArray)
public ByteBitmap(byte[][] byteArray)
Parameters:
Parameter | Type | Description |
---|---|---|
byteArray | byte[][] |
BlackColor
public static final byte BlackColor
Data
public byte[] Data
Height
public int Height
MaxColor
public static final byte MaxColor
WhiteColor
public static final byte WhiteColor
Width
public int Width
deepClone()
public Object deepClone()
Returns: java.lang.Object
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getPixelFast(ShortPoint point)
public final byte getPixelFast(ShortPoint point)
Return color (skip validation)
Parameters:
Parameter | Type | Description |
---|---|---|
point | ShortPoint | a point |
Returns: byte - color of pixel
getPixelFast(System.Drawing.Point point)
public final byte getPixelFast(System.Drawing.Point point)
Return color (skip validation)
Parameters:
Parameter | Type | Description |
---|---|---|
point | com.aspose.ms.System.Drawing.Point | a point |
Returns: byte - color of pixel
getPixelFast(int x, int y)
public final byte getPixelFast(int x, int y)
Return color (skip validation)
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | x-coordinate |
y | int | y-coordinate |
Returns: byte - color of pixel
getPixelSafe(System.Drawing.Point point)
public final byte getPixelSafe(System.Drawing.Point point)
Parameters:
Parameter | Type | Description |
---|---|---|
point | com.aspose.ms.System.Drawing.Point |
Returns: byte
getPixelSafe(int x, int y)
public final byte getPixelSafe(int x, int y)
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | |
y | int |
Returns: byte
getPixelSafe(int x, int y, byte aDef)
public final byte getPixelSafe(int x, int y, byte aDef)
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | |
y | int | |
aDef | byte |
Returns: byte
get_Item(ShortPoint point)
public byte get_Item(ShortPoint point)
Parameters:
Parameter | Type | Description |
---|---|---|
point | ShortPoint |
Returns: byte
get_Item(System.Drawing.Point point)
public byte get_Item(System.Drawing.Point point)
Parameters:
Parameter | Type | Description |
---|---|---|
point | com.aspose.ms.System.Drawing.Point |
Returns: byte
get_Item(int x, int y)
public byte get_Item(int x, int y)
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | |
y | int |
Returns: byte
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
save(String path)
public void save(String path)
Parameters:
Parameter | Type | Description |
---|---|---|
path | java.lang.String |
saveBinarized(String path)
public void saveBinarized(String path)
Parameters:
Parameter | Type | Description |
---|---|---|
path | java.lang.String |
setPixelFast(ShortPoint point, byte data)
public final void setPixelFast(ShortPoint point, byte data)
Set color (skip validation)
Parameters:
Parameter | Type | Description |
---|---|---|
point | ShortPoint | a point |
data | byte | a new color of pixel |
setPixelFast(System.Drawing.Point point, byte data)
public final void setPixelFast(System.Drawing.Point point, byte data)
Set color (skip validation)
Parameters:
Parameter | Type | Description |
---|---|---|
point | com.aspose.ms.System.Drawing.Point | a point |
data | byte | a new color of pixel |
setPixelFast(int x, int y, byte data)
public final void setPixelFast(int x, int y, byte data)
Set color (skip validation)
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | x-coordinate |
y | int | y-coordinate |
data | byte | a new color of pixel |
setPixelSafe(int x, int y, byte data)
public final void setPixelSafe(int x, int y, byte data)
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | |
y | int | |
data | byte |
set_Item(ShortPoint point, byte value)
public void set_Item(ShortPoint point, byte value)
Parameters:
Parameter | Type | Description |
---|---|---|
point | ShortPoint | |
value | byte |
set_Item(System.Drawing.Point point, byte value)
public void set_Item(System.Drawing.Point point, byte value)
Parameters:
Parameter | Type | Description |
---|---|---|
point | com.aspose.ms.System.Drawing.Point | |
value | byte |
set_Item(int x, int y, byte value)
public void set_Item(int x, int y, byte value)
Parameters:
Parameter | Type | Description |
---|---|---|
x | int | |
y | int | |
value | byte |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native 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 |