Sha256: d14ec2533b8acb00ca67c28968c24a7f49fd58f42f6b8086a1876fdc080b3d88

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 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,250 l 50,-25 
           a25,50 -30 0,1 50,-25 l 50,-25 
           a25,75 -30 0,1 50,-25 l 50,-25 
           a25,100 -30 0,1 50,-25 l 50,-25'

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

draw.draw(b)

b.write('path_a_command_02.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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