Class: CooCoo::Image::Clipper
- Defined in:
- lib/coo-coo/image.rb
Instance Method Summary collapse
- #call(pixel, x, y) ⇒ Object
-
#initialize(width, height) ⇒ Clipper
constructor
A new instance of Clipper.
Methods inherited from Transform
Constructor Details
#initialize(width, height) ⇒ Clipper
Returns a new instance of Clipper.
162 163 164 165 |
# File 'lib/coo-coo/image.rb', line 162 def initialize(width, height) @width = width @height = height end |