Class: ImageMosaic::Image::Parent
- Inherits:
-
Object
- Object
- ImageMosaic::Image::Parent
- Defined in:
- lib/image_mosaic/image/parent.rb
Overview
Takes an array of images and metrics and then returns a single image of composited images.
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(items, colour:, width:) ⇒ Parent
constructor
A new instance of Parent.
Constructor Details
#initialize(items, colour:, width:) ⇒ Parent
Returns a new instance of Parent.
5 6 7 8 9 |
# File 'lib/image_mosaic/image/parent.rb', line 5 def initialize(items, colour:, width:) @items = items @colour = colour @width = width end |