Sha256: acc97e9d1ecab7e2b9548a167e52ee2b02be3d47305ef5a03e0c11e1fd0f81d2

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

require File.join(File.dirname(__FILE__), 'new_image.rb')

include Magick

draw = Draw.new

draw.fill 'red'
draw.stroke 'blue'
draw.stroke_width(5)
draw.path 'M0,150 Q75,0 150,150 225,300 300,150'

b = Image.new(300, 300, HatchFill.new('white', 'black'))

draw.draw(b)

b.write('path_q_command_01.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rmagick4j-0.4.0-java test/eyetests/tests/path_q_command_01.rb
rmagick4j-0.3.9-java test/eyetests/tests/path_q_command_01.rb
rmagick4j-0.3.8 test/eyetests/tests/path_q_command_01.rb
rmagick4j-0.3.5 test/eyetests/tests/path_q_command_01.rb
rmagick4j-0.3.6 test/eyetests/tests/path_q_command_01.rb
rmagick4j-0.3.7 test/eyetests/tests/path_q_command_01.rb