    # File lib/rvg/transformable.rb, line 59
                def translate(tx, ty=nil)
                    ty ||= tx
                    begin
                        @transforms << [:translate, [Float(tx), Float(ty)]]
                    rescue ArgumentError
                        raise ArgumentError, "arguments must be convertable to float (got #{tx.class}, #{ty.class})"
                    end
                    yield(self) if block_given?
                    self
                end