Sha256: 129678f9387866af864122a926d8d6e64f79f18c29c4307a9e6483c4e6ad815a

Contents?: true

Size: 225 Bytes

Versions: 6

Compression:

Stored size: 225 Bytes

Contents

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

include Magick

fill = GradientFill.new(100,0,200,300,'#000000','#ff8844')

image = Image.new(300,300,fill)

image.write('gradient_fill_horizontal_diagonal_fill.jpg')

Version data entries

6 entries across 6 versions & 1 rubygems

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