Class: CooCoo::Transformers::Image::Translation
- Defined in:
- lib/coo-coo/transformer.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(enum, width, height, tx, ty) ⇒ Translation
constructor
A new instance of Translation.
- #next ⇒ Object
Methods inherited from Base
Methods inherited from Base
bin_op, bin_op_inner, #drop, #first
Constructor Details
#initialize(enum, width, height, tx, ty) ⇒ Translation
Returns a new instance of Translation.
113 114 115 116 117 |
# File 'lib/coo-coo/transformer.rb', line 113 def initialize(enum, width, height, tx, ty) super(enum, width, height) @tx = tx @ty = ty end |