Class: RubySvgImageGenerator::MonkeyAvatars::Clothes

Inherits:
Theme::ColorPart show all
Defined in:
lib/ruby_svg_image_generator/themes/monkey_avatars/clothes.rb

Constant Summary collapse

COLORS =
["#311D00", "#FFFFFF", "#9A0C16", "#080E84", "#DFB438", "#8FD35F"]
MATRICES =
[
  [
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [ 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0],
    [ 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1],
    [ 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1]
  ]
]

Instance Method Summary collapse

Methods inherited from Theme::ColorPart

#[], #each, #get_matrix, #get_random_matrix

Methods inherited from Theme::Part

#[], #each, #get_matrix, #get_random_matrix, #name

Constructor Details

#initialize(options = {}) ⇒ Clothes

Returns a new instance of Clothes.



27
28
29
# File 'lib/ruby_svg_image_generator/themes/monkey_avatars/clothes.rb', line 27

def initialize options={}
  super "Clothes"
end