Class: CooCoo::Transformers::Image::Rotation
- Defined in:
- lib/coo-coo/transformer.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(enum, width, height, ox, oy, radians) ⇒ Rotation
constructor
A new instance of Rotation.
- #next ⇒ Object
Methods inherited from Base
Methods inherited from Base
bin_op, bin_op_inner, #drop, #first
Constructor Details
#initialize(enum, width, height, ox, oy, radians) ⇒ Rotation
Returns a new instance of Rotation.
142 143 144 145 146 147 |
# File 'lib/coo-coo/transformer.rb', line 142 def initialize(enum, width, height, ox, oy, radians) super(enum, width, height) @ox = ox @oy = oy @radians = radians end |