Class: RubySvgImageGenerator::FaceAvatars::Mouth
- Inherits:
-
Theme::Part
- Object
- Theme::Part
- RubySvgImageGenerator::FaceAvatars::Mouth
- Defined in:
- lib/ruby_svg_image_generator/themes/face_avatars/mouth.rb
Constant Summary collapse
- A =
"#BD3C4D"- 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, A, A, A, 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, A, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0] ] ]
Instance Method Summary collapse
-
#initialize ⇒ Mouth
constructor
A new instance of Mouth.
Methods inherited from Theme::Part
#[], #each, #get_matrix, #get_random_matrix, #name
Constructor Details
#initialize ⇒ Mouth
Returns a new instance of Mouth.
30 31 32 |
# File 'lib/ruby_svg_image_generator/themes/face_avatars/mouth.rb', line 30 def initialize super "Mouth" end |