Generates a Canvas object.
Parameters:
The width of the Canvas.
The height of the Canvas.
Returns:
The Canvas object which is composed on top of the original image.
Raises:
18 19 20
# File 'lib/magick/types.rb', line 18 def to_canvas(width, height) raise AbstractMethod.new("#{self.class} must implement 'to_canvas'") end