Sha256: 43b0e042e875daee38f08423f4f972458ef63b0c08efcb8e0e432cac0769ca4e

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 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 'M50,50 L100,100 0,100M190,190L290,190L290,290 190,290'

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

draw.draw(b)

b.write('path_l_command_01.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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