Sha256: b6ddfedbbfd54aae069626e723ee684f3253ce1ea4e89e42cedb38cf32d40d4b

Contents?: true

Size: 297 Bytes

Versions: 6

Compression:

Stored size: 297 Bytes

Contents

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

include Magick

draw = Draw.new

draw.stroke = 'LightCyan2'
draw.fill 'LightCyan2'

draw.roundrectangle(20,20, 280,180, 8, 8)

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

draw.draw b

b.write('draw_roundrectangle_basic.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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