Sha256: c44476a5360ba9fc3abd681e144316a6f61459396246b11f683790e764d53da7
Contents?: true
Size: 305 Bytes
Versions: 6
Compression:
Stored size: 305 Bytes
Contents
require File.join(File.dirname(__FILE__), 'new_image.rb') include Magick draw = Draw.new draw.fill 'red' draw.stroke 'blue' draw.stroke_width(5) draw.path 'M150,150 h-140 a140,100 45 1,0 140,-140' b = Image.new(300, 300, HatchFill.new('white', 'black')) draw.draw(b) b.write('path_a_command_01.jpg')
Version data entries
6 entries across 6 versions & 1 rubygems