Class: AvatarGenerator::Image

Inherits:
Struct
  • Object
show all
Defined in:
lib/avatar_generator/image.rb

Instance Attribute Summary collapse

Instance Attribute Details

#backgroundObject

Returns the value of attribute background

Returns:

  • (Object)

    the current value of background



4
5
6
# File 'lib/avatar_generator/image.rb', line 4

def background
  @background
end

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



4
5
6
# File 'lib/avatar_generator/image.rb', line 4

def color
  @color
end

#image_sizeObject

Returns the value of attribute image_size

Returns:

  • (Object)

    the current value of image_size



4
5
6
# File 'lib/avatar_generator/image.rb', line 4

def image_size
  @image_size
end

#pixel_mapObject

Returns the value of attribute pixel_map

Returns:

  • (Object)

    the current value of pixel_map



4
5
6
# File 'lib/avatar_generator/image.rb', line 4

def pixel_map
  @pixel_map
end