Sha256: d6e56560220e3b82a07b196aad50902fc910caafaa41745774ed7660ce60ff13

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

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

include Magick

draw = Draw.new

draw.fill 'red'

draw.fill_rule 'nonzero'

draw.stroke 'blue'
draw.stroke_width(5)
draw.path 'M100,10 L100,10 40,180 190,60 10,60 160,180 z'

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

draw.draw(b)

b.write('path_star_01.jpg')

Version data entries

5 entries across 5 versions & 1 rubygems

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