Sha256: b01171d0e063ebc5417deb94e6214175b9126d4717d8e61f7b9921fc1691f99f

Contents?: true

Size: 313 Bytes

Versions: 59

Compression:

Stored size: 313 Bytes

Contents

#! /usr/local/bin/ruby -w
require 'rvg/rvg'

rvg = Magick::RVG.new(150, 150) do |canvas|
    canvas.background_fill = ''
    canvas.circle(40, 75, 75).styles(:stroke=>'blue', :fill=>'#00ff00',:stroke_width=>8)
    canvas.rect(149,149).styles(:fill=>'none',:stroke=>'blue')
end

rvg.draw.write('stroke_fill.gif')

Version data entries

59 entries across 59 versions & 2 rubygems

Version Path
rmagick-2.13.4 doc/ex/stroke_fill.rb
rmagick-2.13.3 doc/ex/stroke_fill.rb
rmagick-2.13.3.rc1 doc/ex/stroke_fill.rb
rmagick-2.13.2 doc/ex/stroke_fill.rb
rdp-rmagick-0.0.0 doc/ex/stroke_fill.rb
rmagick-2.13.1 doc/ex/stroke_fill.rb
rmagick-2.12.2 doc/ex/stroke_fill.rb
rmagick-2.12.1 doc/ex/stroke_fill.rb
rmagick-2.12.0 doc/ex/stroke_fill.rb
rmagick-2.11.1 doc/ex/stroke_fill.rb
rmagick-2.10.0 doc/ex/stroke_fill.rb
rmagick-2.11.0 doc/ex/stroke_fill.rb
rmagick-1.10.1 doc/ex/stroke_fill.rb
rmagick-1.10.0 doc/ex/stroke_fill.rb
rmagick-1.11.1 doc/ex/stroke_fill.rb
rmagick-1.12.0 doc/ex/stroke_fill.rb
rmagick-1.11.0 doc/ex/stroke_fill.rb
rmagick-1.13.0 doc/ex/stroke_fill.rb
rmagick-1.15.10 doc/ex/stroke_fill.rb
rmagick-1.15.0 doc/ex/stroke_fill.rb