Class: RubySvgImageGenerator::FaceAvatars::Eyes
- Inherits:
-
Theme::ColorPart
- Object
- Theme::Part
- Theme::ColorPart
- RubySvgImageGenerator::FaceAvatars::Eyes
- Defined in:
- lib/ruby_svg_image_generator/themes/face_avatars/eyes.rb
Constant Summary collapse
- COLORS =
["#247337", "#6978DB", "#53552F", "#145D75", "#666666"]
- MATRICES =
[ [ [ 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 1, 0, 1, 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] ] ]
Instance Method Summary collapse
-
#initialize ⇒ Eyes
constructor
A new instance of Eyes.
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 ⇒ Eyes
Returns a new instance of Eyes.
21 22 23 |
# File 'lib/ruby_svg_image_generator/themes/face_avatars/eyes.rb', line 21 def initialize super "Eyes" end |