Module: Compass::Magick::Functions::Canvas
- Included in:
- Compass::Magick::Functions
- Defined in:
- lib/magick/functions/canvas.rb
Overview
Methods for creating a new Canvas.
Instance Method Summary collapse
-
#magick_canvas(*commands) ⇒ String
Creates a new Canvas and execute all commands on the instance.
Instance Method Details
#magick_canvas(canvas, *commands) ⇒ String #magick_canvas(data, *commands) ⇒ String #magick_canvas(url, *commands) ⇒ String #magick_canvas(path, *commands) ⇒ String #magick_canvas(width, height, *commands) ⇒ String
Creates a new Canvas and execute all commands on the instance.
36 37 38 |
# File 'lib/magick/functions/canvas.rb', line 36 def magick_canvas(*commands) Compass::Magick::Canvas.new(*commands) end |