class

Crubbletea::Compositor

Inherits Reference < Object

Constructors

new(width : Int32, height : Int32)
Source

Instance methods

add_layer(layer : Layer) : Nil
Source
hit(x : Int32, y : Int32) : Layer | Nil
Source
layer(id : String) : Layer | Nil
Source
new_layer(content : String, x : Int32 = 0, y : Int32 = 0, z : Int32 = 0, id : String = "") : Layer
Source
remove_layer(id : String) : Nil
Source
render
Source

Nested types