drawBarcode2()

Parameters:

Graphics2D g, no default
double left,   default=0.0

double top,  default=0.0

int resolution, default=0

int bitadjust, default=0

int pixeladjust  default=0

 

Return Type:  void

This method is virtually identical to the drawBarcode() method except for the presence of the bitadjust parameter. This forces the image to have a (bitadjust) multiple of pixels in each line. For example, if creating a GIF image by drawing the pixel map, the format requires that each line contain an integer multiple of 32 pixels – so bitadjust would be set to 32.

 

More:

getAvailableTypeNames()