Class: Imagga::ImageCrop
- Inherits:
-
ImageInfoBase
- Object
- ImageInfoBase
- Imagga::ImageCrop
- Defined in:
- lib/imagga/image.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ImageInfoBase
Constructor Details
This class inherits a constructor from Imagga::ImageInfoBase
Class Method Details
.fields ⇒ Object
115 116 117 |
# File 'lib/imagga/image.rb', line 115 def self.fields %w(target_width target_height x1 y1 x2 y2) end |
Instance Method Details
#info ⇒ Object
127 128 129 |
# File 'lib/imagga/image.rb', line 127 def info "target: (%i,%i), crop: (%i, %i) to (%i, %i)" % [target_width, target_height, x1, y1, x2, y2] end |