Sha256: 7c40cc75c90f8ad5b1b2717d3bb8bc46e6e9a9d13a5ff2b00d33a393228a6601

Contents?: true

Size: 340 Bytes

Versions: 6

Compression:

Stored size: 340 Bytes

Contents

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

include Magick

draw = Draw.new

draw.fill 'GREENYELLOW'
draw.stroke 'DarkBlue'
draw.stroke_width(5)
draw.path 'M150 150 200 200v25C225 225 250 250 200 250S150 275 200 275H100Z'

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

draw.draw(b)

b.write('path_complex_01.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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