Sha256: d11035c4eef305703f32808be916ddbf6c107d3a64235435ac1e0b634752e8f2

Contents?: true

Size: 279 Bytes

Versions: 6

Compression:

Stored size: 279 Bytes

Contents

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

include Magick

draw = Draw.new

draw.stroke = 'red'
draw.fill_opacity 0.0

draw.ellipse(180,125, 150,75, 90, 270)

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

draw.draw b

b.write('draw_ellipse_basic.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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