fix formatting

This commit is contained in:
Patrick Kanzler 2023-08-15 00:37:04 +02:00
parent 3ef6892330
commit 7ce4453b3d

View File

@ -737,9 +737,9 @@ class Escpos(object):
barcode_type, barcode_type,
data, data,
impl: str = "bitImageColumn", impl: str = "bitImageColumn",
module_height: int | float = 5, module_height: (int | float) = 5,
module_width: int | float = 0.2, module_width: (int | float) = 0.2,
text_distance: int | float = 5, text_distance: (int | float) = 5,
font_size: int = 10, font_size: int = 10,
center: bool = True, center: bool = True,
): ):
@ -783,13 +783,13 @@ class Escpos(object):
* bitImageRaster * bitImageRaster
:param module_height: barcode module height (in mm). :param module_height: barcode module height (in mm).
:type module_height: int | float :type module_height: (int | float)
:param module_width: barcode module width (in mm). :param module_width: barcode module width (in mm).
:type module_width: int | float :type module_width: (int | float)
:param text_distance: distance from the barcode to the code text (in mm). :param text_distance: distance from the barcode to the code text (in mm).
:type text_distance: int | float :type text_distance: (int | float)
:param font_size: font size of the code text (in dots). :param font_size: font size of the code text (in dots).
:type font_size: int :type font_size: int