# File tile.rb, line 105
    def eachBorder(xindent=0,yindent=0)
      (@x1+xindent).upto(@x2-xindent) { |x|
        yield x, @y1+yindent
      }
      
      (@x1+xindent).upto(@x2-xindent) { |x|
        yield x, @y2+yindent
      }
      
      (@y1+xindent).upto(@y2-xindent) { |y|
        yield @x1+xindent, y
      }
      
      (@y1+xindent).upto(@y2-xindent) { |y|
        yield @x2+xindent, y
      }
    end