struct

Tui::Dimension

Inherits Struct / Value / Object

Represents a size dimension (width or height)

Constructors

Class methods

auto

Helper constructors

Source
fr(value : Int32 = 1) : Fr
Source
percent(value : Float64) : Percent
Source
px(value : Int32) : Px
Source

Instance methods

initialize
Source
resolve(available : Int32, total_fr : Int32 = 1) : Int32
Source

Nested types