SpikedBits

Inheritance: java.lang.Object, com.aspose.barcode.barcoderecognition.internal.BitArrayArray

public class SpikedBits extends BitArrayArray

This class extends bits matrix model.

Constructors

Constructor Description
SpikedBits(int capacity) Initializes a new instance of the SpikedBits that is empty and has the specified initial capacity.
SpikedBits(int col, int row) Initializes a new instance of the SpikedBits

Fields

Field Description
ModuleX Module of 2d barcode by x-coordinate (rounding down).
ModuleY Module of 2d barcode by y-coordinate (rounding down).
ProtoBitmap Original byte bitmap to construct the bits.
ProtoCells Original cells to construct the bits.
Tiles Tiles for codewordes.

Methods

Method Description
equals(Object arg0)
flip(int i, int j)
getClass()
getCol()
getRow()
get_Item(int i, int j)
hashCode()
isInnerPoint(int rowValue, int colValue) check inner point conditions
notify()
notifyAll()
set(int i, int j)
set_Item(int i, int j, boolean value)
toByteArrays() Cast to byte[][] type.
toString()
toZebras()
unSet(int i, int j)
wait()
wait(long arg0)
wait(long arg0, int arg1)

SpikedBits(int capacity)

public SpikedBits(int capacity)

Initializes a new instance of the SpikedBits that is empty and has the specified initial capacity. class.

Parameters:

Parameter Type Description
capacity int The number of elements that the new list can initially store.

SpikedBits(int col, int row)

public SpikedBits(int col, int row)

Initializes a new instance of the SpikedBits

Parameters:

Parameter Type Description
col int Specified column count.
row int Specified rows count.

ModuleX

public int ModuleX

Module of 2d barcode by x-coordinate (rounding down).

ModuleY

public int ModuleY

Module of 2d barcode by y-coordinate (rounding down).

ProtoBitmap

public ByteBitmap ProtoBitmap

Original byte bitmap to construct the bits.

ProtoCells

public ICells ProtoCells

Original cells to construct the bits.

Tiles

public List<Tile> Tiles

Tiles for codewordes. It is post-initialization in the “translate” method.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

flip(int i, int j)

public void flip(int i, int j)

Parameters:

Parameter Type Description
i int
j int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCol()

public int getCol()

Returns: int

getRow()

public int getRow()

Returns: int

get_Item(int i, int j)

public boolean get_Item(int i, int j)

Parameters:

Parameter Type Description
i int
j int

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

isInnerPoint(int rowValue, int colValue)

public boolean isInnerPoint(int rowValue, int colValue)

check inner point conditions

Parameters:

Parameter Type Description
rowValue int row
colValue int col

Returns: boolean -

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

set(int i, int j)

public void set(int i, int j)

Parameters:

Parameter Type Description
i int
j int

set_Item(int i, int j, boolean value)

public void set_Item(int i, int j, boolean value)

Parameters:

Parameter Type Description
i int
j int
value boolean

toByteArrays()

public byte[][] toByteArrays()

Cast to byte[][] type.

Returns: byte[][] - Byte[][]

toString()

public String toString()

Returns: java.lang.String

toZebras()

public Int32List[] toZebras()

Returns: com.aspose.barcode.common.generic.list.Int32List[]

unSet(int i, int j)

public void unSet(int i, int j)

Parameters:

Parameter Type Description
i int
j int

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