lib/rvg/rvg.rb
# background_fill defaults to 'none'. If background_fill has been set to something
# else, combine it with the background_fill_opacity.
background_fill defaults to 'none'. If background_fill has been set to something
else, combine it with the background_fill_opacity.
background_fill defaults to ' none ' . If background_fill has been set to something else combine it with the background_fill_opacity .
def bgfill
      if @background_fill.nil?
        color = Magick::Pixel.new(0, 0, 0, Magick::OpaqueAlpha)
      else
        color = @background_fill
        color.alpha = @background_fill_opacity * Magick::OpaqueAlpha
      end
      color
    end
def bgfill if @background_fill . nil? color = Magick :: Pixel . new ( 0 , 0 , 0 , Magick :: OpaqueAlpha ) else color = @background_fill color . alpha = @background_fill_opacity * Magick :: OpaqueAlpha end color end
background_fill defaults to 'none'.
background_fill defaults to ' none ' .