# File lib/rvg/rvg.rb, line 215 def initialize(width=nil, height=nil) super @width, @height = width, height @content = Content.new @canvas = nil @background_fill = nil @background_fill_opacity = 1.0 # applies only if background_fill= is used @background_position = :scaled @background_pattern, @background_image, @desc, @title, @metadata = nil @x, @y = 0.0 @nested = false yield(self) if block_given? end