Class: Zint::Eanx

Inherits:
Barcode show all
Defined in:
lib/zint/eanx.rb

Overview

EAN (European Article Number)

Instance Attribute Summary

Attributes inherited from Barcode

#input_file, #value

Instance Method Summary collapse

Methods inherited from Barcode

#bgcolour, #bgcolour=, #bitmap_byte_length, #bitmap_height, #bitmap_width, #border_width, #border_width=, #debug, #debug=, #dot_size, #dot_size=, #dpmm, #dpmm=, #eci, #eci=, #encoded_data, #encoded_data=, #errtxt, #fgcolour, #fgcolour=, #fontsize, #fontsize=, #free, #guard_descent, #guard_descent=, #height, #height=, #input_mode, #input_mode=, #option_1, #option_1=, #option_2, #option_2=, #option_3, #option_3=, #outfile, #output_options, #output_options=, #primary, #primary=, #row_height, #rows, #scale, #scale=, #show_hrt, #show_hrt=, #structapp, #structapp=, #symbology, #symbology=, #text, #text=, #to_bitmap, #to_buffer, #to_file, #to_memory_file, #to_vector, #warn_level, #warn_level=, #whitespace_height, #whitespace_height=, #whitespace_width, #whitespace_width=, #width

Constructor Details

#initialize(value: nil, input_file: nil, **kwargs) ⇒ Eanx

Returns a new instance of Eanx.



4
5
6
# File 'lib/zint/eanx.rb', line 4

def initialize(value: nil, input_file: nil, **kwargs)
  super(value: value, input_file: input_file, symbology: Zint::BARCODE_EANX, **kwargs)
end