class RatatuiRuby::Rect
A rectangle in the terminal grid.
- x
-
The x-coordinate of the top-left corner.
- y
-
The y-coordinate of the top-left corner.
- width
-
The width of the rectangle.
- height
-
The height of the rectangle.
Public Class Methods
Source
# File lib/ratatui_ruby/schema/rect.rb, line 20 def initialize(x: 0, y: 0, width: 0, height: 0) super end
- x
-
The x-coordinate of the top-left corner.
- y
-
The y-coordinate of the top-left corner.
- width
-
The width of the rectangle.
- height
-
The height of the rectangle.
Calls superclass method