Method: Rectangle#stroke_rectangle
- Defined in:
- lib/curses/geometry/rectangle.rb
#stroke_rectangle(x1, y1, x2, y2) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/curses/geometry/rectangle.rb', line 2 def stroke_rectangle(x1, y1, x2, y2) draw_horizontal_line(x1, x2, y1) draw_horizontal_line(x1, x2, y2) draw_vertical_line(x1, y1, y2) draw_vertical_line(x2, y1, y2) end |