class Magick::TextureFill

Public Class Methods

new(image) click to toggle source
# File lib/rmagick4j/texture_fill.rb, line 9
def initialize(image)
  image = image.cur_image if image.respond_to? :cur_image
  @fill = Magick4J.TextureFill.new(image._image)
end

Public Instance Methods

fill(image) click to toggle source
# File lib/rmagick4j/texture_fill.rb, line 5
def fill(image)
  @fill.fill(image._image)
end