Sha256: b0370c8edb9a7c604366f963172628f6605f160d4fe765da28b8bd1e979235e8
Contents?: true
Size: 320 Bytes
Versions: 4
Compression:
Stored size: 320 Bytes
Contents
#! /usr/local/bin/ruby -w require 'rvg/rvg' include Magick rvg = 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rmagick-1.8.0 | doc/ex/stroke_fill.rb |
rmagick-1.8.1 | doc/ex/stroke_fill.rb |
rmagick-1.8.2 | doc/ex/stroke_fill.rb |
rmagick-1.8.3 | doc/ex/stroke_fill.rb |