Sha256: 70c2f237d00152805d2e632530b88d05e8a800bc0b21bd7e7aff5deccb29c135

Contents?: true

Size: 312 Bytes

Versions: 6

Compression:

Stored size: 312 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 100 100 0 100m190 90 100 0 0 100 -100 0'

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

draw.draw(b)

b.write('path_m_command_03.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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