Class: Zint::Bitmap

Inherits:
Struct
  • Object
show all
Defined in:
lib/zint/bitmap.rb

Overview

A class to represents a pixel from the bitmap

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



3
4
5
# File 'lib/zint/bitmap.rb', line 3

def height
  @height
end

#pixelsObject

Returns the value of attribute pixels

Returns:

  • (Object)

    the current value of pixels



3
4
5
# File 'lib/zint/bitmap.rb', line 3

def pixels
  @pixels
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



3
4
5
# File 'lib/zint/bitmap.rb', line 3

def width
  @width
end