Class: RubySvgImageGenerator::FaceAvatars::Background
- Inherits:
-
Theme::ColorPart
- Object
- Theme::Part
- Theme::ColorPart
- RubySvgImageGenerator::FaceAvatars::Background
- Defined in:
- lib/ruby_svg_image_generator/themes/face_avatars/background.rb
Constant Summary collapse
- COLORS =
["#91E3B5", "#62DB5C", "#91E3DB", "#E68585", "#dddddd", "#328463"]
- MATRICES =
[ [ [ 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 1, 1] ] ]
Instance Method Summary collapse
-
#initialize ⇒ Background
constructor
A new instance of Background.
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 ⇒ Background
Returns a new instance of Background.
21 22 23 |
# File 'lib/ruby_svg_image_generator/themes/face_avatars/background.rb', line 21 def initialize super "Background" end |