Sha256: 0cef66314e59b3ee2e21913ae77e3911dab94e714503414548cb3c94af593115

Contents?: true

Size: 322 Bytes

Versions: 6

Compression:

Stored size: 322 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 C0,0 100,0 100,150S200,300 200,150s100,-150 100,0'

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

draw.draw(b)

b.write('path_s_command_01.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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