struct Obsctl::TUI::Rect

Overview

Rectangular terminal region used by layout calculations.

Defined in:

obsctl/tui/layout.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32, width : Int32, height : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(x _x = @x, y _y = @y, width _width = @width, height _height = @height) #

[View source]
def height : Int32 #

def width : Int32 #

def x : Int32 #

def y : Int32 #