Bar Class

The com.bokai.barcodes.Bar class carries information about a barcode bar.

Methods

public Bar()
public int getX()
public int getWidth()
public int getStyle()

Remarks

getX()

Returns the position of the bar as an offset from the leftmost end of the barcode, in screen pixels.

getWidth()

Returns the width of the bar, in screen pixels.

getStyle()

Returns a bitwise value indicating the style of the bar. Can be a combination of zero or more of the following values: